[PyQt] 64 bits and Snow Leopard make me crazy

Brian Kelley kelley at eyesopen.com
Thu Feb 25 15:17:57 GMT 2010


When making Qt 32 bit builds on snow leopard, you probably also want to set this environment variable:

export VERSIONER_PYTHON_PREFER_32_BIT=yes

Note that if you want to build python 3.x 64 bit on Snow Leopard, your best bet is downloading the source and making the framework build.

There is a pretty detailed conversation here:

http://farmdev.com/thoughts/66/python-3-0-on-mac-os-x-alongside-2-6-2-5-etc-/

Brian

On Feb 25, 2010, at 10:02 AM, Massimo Di Stefano wrote:

I used the system python that comes with snow-leopard, it is 64-bit.


 if you need to build all in 32 bit mode, you can use your already installed Qt (don't need the cocoa version)
and use to build sip an pyqt :

SIP :

python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin \
-e /usr/local/include -v /usr/local/share/sip --arch=i386

PYQT :

python2.6 configure.py -d /Library/Python/2.6/site-packages -b /usr/local/bin --use-arch i386


Il giorno 25/feb/2010, alle ore 15.01, Darren Dale ha scritto:

On Thu, Feb 25, 2010 at 8:33 AM, Massimo Di Stefano
<massimodisasha at yahoo.it<mailto:massimodisasha at yahoo.it>> wrote:
Hi You need the 64bit version of Qt (cocoa)

This assumes a 64-bit python-3 installation. How was python installed?
My understanding is that the universal Mac binaries provided at
python.org<http://python.org/> do not include support for x86_64.

Darren

<ATT00001..txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100225/6a1f66ba/attachment.html>


More information about the PyQt mailing list