[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Trying to upgrade Qt4 in Linux
From:       David Cortesi <davecortesi () gmail ! com>
Date:       2013-09-30 23:28:48
Message-ID: CALyzANst-0wLhANbgfDRux1gkdv6=-Wp4b+AVx0SqstqE5V2VA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


In a Linux system my PyQt4 app  fails because it relies on a feature that
dates to Qt 4.7. This Linux system has 4.6 installed. Also the PyQt4 was at
4.6.x. So I did the following:

Downloaded the Linux source of SIP, configure, make, make-install

Downloaded the Linux source of PyQt4, configure, make, make-install

Then downloaded the latest stable Qt4 from qt-project and did configure,
make (four bloody hours!), make install.

Invoke Python, check PYQT_VERSION_STR, it is 4.10.3 but alas,
QT_VERSION_STR is 4.6.2 still.

Went back to PyQt4 folder, did make clean; python configure-ng.py, and note
that it reports, "Qt v4.6.2 (Open Source) is being used."

How do I persuade PyQt4 to configure to use the newer Qt I just installed?
I don't see anything relevant in configure-ng --help.

I observe that  /usr/include/qt4/* exists, presumably this is the old one;
but the Qt4 make-install put a lot of stuff in
/usr/local/TrollTech/Qt4.8.5/*

thanks,
Dave Cortesi

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>In a Linux system my \
PyQt4 app  fails because it relies on a feature that dates to Qt 4.7. This Linux \
system has 4.6 installed. Also the PyQt4 was at 4.6.x. So I did the following:<br>

<br></div>Downloaded the Linux source of SIP, configure, make, \
make-install<br><br></div>Downloaded the Linux source of PyQt4, configure, make, \
make-install<br><br></div>Then downloaded the latest stable Qt4 from qt-project and \
did configure, make (four bloody hours!), make install.<br>

<br></div>Invoke Python, check PYQT_VERSION_STR, it is 4.10.3 but alas, \
QT_VERSION_STR is 4.6.2 still.<br></div><br></div></div>Went back to PyQt4 folder, \
did make clean; python configure-ng.py, and note that it reports, &quot;Qt v4.6.2 \
(Open Source) is being used.&quot;<br>

<br></div>How do I persuade PyQt4 to configure to use the newer Qt I just installed? \
I don&#39;t see anything relevant in configure-ng --help.<br><br></div>I observe that \
/usr/include/qt4/* exists, presumably this is the old one; but the Qt4 make-install \
put a lot of stuff in /usr/local/TrollTech/Qt4.8.5/*<br>

<br></div><div>thanks,<br></div><div>Dave Cortesi<br></div></div>



_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic