Hi all,
I have some problems making PyQt work on Snow Leopard (10.6.2). I’m quite new to a lot of this, so I hope someone can help me out
I’m using:
Python 2.6.4
Sip-4.10
PyQt-mac-gpl-4.7 (not installed succesfully)
qt-mac-cocoa-opensource-4.6.2
Other QT verions did not work (error: Failed to determine the layout of your Qt installation when trying to configure PyQt)
I am stuck on an error when trying to configure PyQt:
Ive tried to rebuild sip using -arch i386 as well, but I’m not sure if it is sip causing this…Generating the C++ source for the QtCore module...
sip: Usage: sip [-h] [-V] [-a file] [-c dir] [-d file] [-e] [-g] [-I dir] [-j #] [-k] [-m file] [-o] [-p module] [-r] [-s suffix] [-t tag] [-w] [-x feature] [-z file] [file]
Error: Unable to create the C++ code.
Can it be a problem of the Qt install, or is sip or the configure.py file causing the trouble?
I’ve tried configuring PyQt using "python configure.py -q /usr/bin/qmake -d /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/"
Could compiling the Qt installation work instead of using a binary install?
When browsing ftp://ftp.qt.nokia.com/qt/source/ for source versions, I could’nt find the mac version src for 4.6.x… Perhaps someone could point me to the correct source to use for 4.6.x and higher?
Any hints and tips is appreciated!
Bookmarks