<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, "Qt v4.6.2 (Open Source) is being used."<br>

<br></div>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.<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>