[PyQt] PyQt v4.10.1 install Error on Mac OS X

Phil Thompson phil at riverbankcomputing.com
Tue Apr 23 11:14:37 BST 2013


On Tue, 23 Apr 2013 03:50:04 +0000, <jrosslist at outlook.com> wrote:
> installed and verified working:
>  - Mac OS X Version 10.7.5 (Lion)
>  - Xcode Version 4.6.1
>  - Python 3.3.1 (python-3.3.1-macosx10.6.dmg)
>  - Qt5.0.2 (qt-mac-opensource-5.0.2-clang-offline.dmg)
>  - SIP v4.14.6 (sip-4.14.6.tar.gz)
>  - PyQt v4.10 (PyQt-mac-gpl-4.10.tar.gz) 
> 
> This is more of an FYI since I successfully installed v4.10 using
> configure.py and everything is working (after trying the brand new
> v4.10.1)!
> 
> With /Users/jar/Qt5.0.2/5.0.2/clang_64/bin in my PATH I issue the
> command: 
> 
> python3 configure-ng.py --sip
> /Library/Frameworks/Python.framework/Versions/3.3/bin/sip
> 
> after accepting the license terms, and after checking to see if several
> modules should be built... it errors out on the module QtDBus:
> 
> Checking to see if the QtDBus module should be built...
> Error: /Users/jar/Qt5.0.2/5.0.2/clang_64/bin/qmake failed to create a
> makefile
> from cfgtest_QtDBus.pro.
> 
> I wonder is this a missing Qt5 environment variable or path thing?

It's because qmake for Qt5 is less tolerant about creating makefiles for
unsupported modules. It will be fixed in tonight's snapshot.

> An
> interesting note is that w/ v4.10 (configure.py) I do not need to
specify
> the location of the SIP on the command line however v4.10.1
> (configure-ng.py) complains right away if I don't. 

The SIP location is supplied to configure.py by the sipconfig module. This
isn't used by configure-ng.py and so must be specified explicitly.

Phil


More information about the PyQt mailing list