Compile PyQt4 with Python 2.7 64-bit under Mac OS XDaniele Esposti's Blog, in 10 July 2010
A couple fo days ago Python 2.7 was release as a first stable release. Looking at the Mac OS X ports I found the new official 64-bit release and I installed it. But now the Qt Python bindings stops working because they are compiled as 32-bit binaries.
The procedure to compile the 64-bit version of the Qt bindings is really simple and it’s no much different than the procedure I describe in the post Install PyQt4 in Snow Leopard, the only difference is the package you must download from Qt official website and the architecture to use when run the configure.py scrit before make.
So, lets start with the download and install Qt for Cocoa which you can found here. Before install them I removed manually the content of the folder
/Developer/Application/Qt because the 32-bit version of Qt was present in my system, just to be sure there will be no conflicts.
Now just follow same the instructions described here but change the
Done, nothing else to do.