[PyQt] Problem with configiring PyQt4,7 on mac os 10.6

Phil Thompson phil at riverbankcomputing.com
Tue Feb 2 13:13:48 GMT 2010


On Tue, 2 Feb 2010 13:58:36 +0100, Anne-Laure Terrettaz-Zufferey
<al.terrzuff at gmail.com> wrote:
> Hello,
> 
> I have the following error when configuring PyQt on Mac os 10.6 and using
> the command: python configure.py --use-arch i386
> 
> I have already installed a Qt version for C/C++ development. It could
come
> from this previous installation? Should I uninstall it? How to on mac os
> 10.6?
> 
> 
> Error message:
> -----------------------
> Determining the layout of your Qt installation...
> /usr/bin/qmake -spec macx-g++ -o qtdirs.mk qtdirs.pro
> make -f qtdirs.mk
> c++ -c -pipe -g -arch i386 -Wall -W -F/Library/Frameworks  -DQT_CORE_LIB
> -DQT_SHARED -I/usr/local/Qt4.2/mkspecs/macx-g++ -I.
> -I/Library/Frameworks/QtCore.framework/Versions/4/Headers
> -I/usr/include/QtCore -I/usr/include -I. -I. -o qtdirs.o qtdirs.cpp
> In file included from
> /Library/Frameworks/QtCore.framework/Headers/qnamespace.h:27,
>                  from
>                 
/Library/Frameworks/QtCore.framework/Headers/qobjectdefs.h:27,
>                  from
>                 
/Library/Frameworks/QtCore.framework/Headers/qobject.h:29,
>                  from
>                 
/Library/Frameworks/QtCore.framework/Headers/qiodevice.h:28,
>                  from
>                 
/Library/Frameworks/QtCore.framework/Versions/4/Headers/qfile.h:27,
>                  from
>                 
/Library/Frameworks/QtCore.framework/Versions/4/Headers/QFile:1,
>                  from qtdirs.cpp:1:
> /Library/Frameworks/QtCore.framework/Headers/qglobal.h:872:6: error:
#error
> "This version of Mac OS X is unsupported"
> make: *** [qtdirs.o] Error 1
> Error: Failed to determine the layout of your Qt installation. Try again
> using
> the --verbose flag to see more detail about the problem.
> macbook-de-al-2:PyQt-mac-gpl-4.7 naane$ 
> --------------------------
> 
> 
> 
> Thanks in advance, regards,
> 
> AL

As the error message implies, you need a newer version of Qt.

Phil


More information about the PyQt mailing list