[PyQt] Issue building PyQt4 4.9.2 on Mac OS X Lion
phil at riverbankcomputing.com
Sat Jun 23 19:18:49 BST 2012
On Sat, 23 Jun 2012 17:06:30 +0200, Santiago Reig <santireig at gmail.com>
>> I tried to build latest PyQt4 on Mac OS X Lion without success. The
>> python3 configure.py --verbose
>> gives this output.
>> Determining the layout of your Qt installation...
>> /usr/bin/qmake -spec default -o qtdirs.mk qtdirs.pro
>> Error: /usr/bin/qmake failed to create a makefile. Make sure you have a
>> Qt v4 qmake on your PATH or use the -q argument to explicitly specify a
>> Qt v4 qmake.
> I was struggling all morning to get this fixed, but got that error
> whatever I did. I was just recompiling my project again to get the
> error and post it here.
> I can confirm that it also happens with python 2.7.1 and 2.7.2, also
> under Mac OS X Lion.
Edit the initialisation of qt_macx_spec in configure.py and change it from
'default' to 'macx-g++'.
More information about the PyQt