[PyQt] Building PyQt to work with Qt5

James Jong ribonucleico at gmail.com
Mon Apr 22 23:53:35 BST 2013


When building/installing PyQt (from source or using pip), how do I specify
the path to the local Qt5 installation?

I built Qt5 from source
(qt-everywhere-opensource-src-5.0.2.tar.gz<http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz>)
with the following command:

wget http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz
tar -xvf qt-everywhere-opensource-src-5.0.2.tar.gz

cd qt-everywhere-opensource-src-5.0.2./configure -prefix $PWD/qtbase
-opensource -nomake tests
make -j 4

 If I then cd into qtbase I see:

bin/
dist/
doc/
examples/
imports/
include/
lib/
etc ...

Looking at the PyQt4 installation
instructions<http://pyqt.sourceforge.net/Docs/PyQt4/installation.html>
I
could not find a flag or an option to specify the location of the Qt
installation.

Is there a way to tell PyQt4 where to find Qt5?
Note: I left a copy of this thread on StackOverflow:
http://stackoverflow.com/questions/16154402/building-pyqt-to-work-with-qt5

Thanks,

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130422/35a44f66/attachment-0001.html>


More information about the PyQt mailing list