On Sonntag, 26. Juli 2009, Jesse Aldridge wrote: > I ran make install on the Qt 4.5.2 source. It installed to > "/usr/local/Trolltech/Qt-4.5.2". Ubuntu 9.04 comes with qt 4.5.0, which is > installed in "/usr". What's a clean way to make my pyqt programs use the > 4.5.2 version of Qt?
I am using virtualenv to setup a virtual Python environment for exactly the same purpose. In addition to this, I ammending the PATH variable to include the path to the newer Qt version first. For eric4 a commandline could look like PATH=/usr/local/Trolltech/Qt-4.5.2/bin:$PATH ~/pyqt45env/bin/python ~/pyqt45env/lib64/python2.6/site-packages/eric4/eric4.py Note: ~/pyqt45env is my virtual environment set up using virtualenv. Regards, Detlev -- Detlev Offenbach [email protected] _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
