[PyQt] Failing to create a makefile during PyQt installation. qmake is on path

Phil Thompson phil at riverbankcomputing.com
Wed Apr 24 18:56:02 BST 2013


On Wed, 24 Apr 2013 13:46:00 -0400, James Jong <ribonucleico at gmail.com>
wrote:
> After installing Qt5 and SIP, I am now trying to install PyQt
> 
> I run the following which resulted in an error:
> 
> $ python configure-ng.py
> Querying qmake about your Qt installation...
> Determining the details of your Qt installation...
> This is the GPL version of PyQt 4.10.1 (licensed under the GNU General
> Public
> License) for Python 2.7.4 on linux2.
> 
> Type '2' to view the GPL v2 license.
> Type '3' to view the GPL v3 license.
> Type 'yes' to accept the terms of the license.
> Type 'no' to decline the terms of the license.
> 
> Do you accept the terms of the license? yes
> Found the license file pyqt-gpl.sip.
> Checking to see if the QtGui module should be built...
> Checking to see if the QtHelp module should be built...
> Checking to see if the QtMultimedia module should be built...
> Checking to see if the QtNetwork module should be built...
> Checking to see if the QtDeclarative module should be built...
> Checking to see if the QtOpenGL module should be built...
> Checking to see if the QtScript module should be built...
> Checking to see if the QtScriptTools module should be built...
> Checking to see if the QtSql module should be built...
> Checking to see if the QtSvg module should be built...
> Checking to see if the QtTest module should be built...
> Checking to see if the QtWebKit module should be built...
> Error: /home/avazquez/local/bin/qmake failed to create a makefile from
> cfgtest_QtWebKit.pro.
> 
> $ which
> qmake
> 1
> /home/james/local/bin/qmake
> 
> $ qmake --version
> QMake version 3.0
> Using Qt version 5.0.2 in
> /home/james/opt/qt/src/qt-everywhere-opensource-src-5.0.2/qtbase/lib
> 
> $ python--version
> Python 2.7.4
> 
> Why?

Your Qt build probably doesn't include QtWebKit. Use the current snapshot
or use configure.py.

Phil


More information about the PyQt mailing list