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

Jan Haag haag498 at googlemail.com
Tue Feb 2 16:33:15 GMT 2010


Depending on the Hardware you have it may also make sense to use the  
latest Cocoa-build of
Qt on Mac, as it has full 64bit support; Look around on Qt's download  
page, they also have a
32bit-only Carbon build. As far as I know, there is no significant  
difference in functionality,
but the Cocoa-builds work better on Mac 10.6 as gcc per default  
outputs 64bit executables.

Jan

On Feb 2, 2010, at 2:13 PM, Phil Thompson wrote:

> 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
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list