How to install PyQt on Mac OS X 10.6
- by Albert
I want to install PyQt. This seems kind of complicated to install on OS X. I haven't found any precompiled packages of it (are there any? I would really prefer those).
So I downloaded PyQt. And SIP, because it depends on that. These files:
http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-mac-gpl-4.7.3.tar.gz
http://www.riverbankcomputing.co.uk/static/Downloads/sip4/sip-4.10.2.tar.gz
Did a python configure.py && make && sudo make install on SIP -- installed without any problems.
Tried the same on PyQt -- and failed of course:
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:288:2: error: #error "You are building a 64-bit application, but using a 32-bit version of Qt. Check your build configuration."
Ok, so I tried with python configure.py --use-arch=i386. Same error.
Any idea?