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
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to