Hello,
I've downloaded qt-sdk-mac-opensource-2010.02.dmg . I've installed it.
Then I've downloaded PyQt-mac-gpl-4.7 and sip-4.10.
I've compiled sip using the following commands :
python3.1 configure.py
make
sudo make install
No problem.
Then I decide, because I'm a crazy man :-) to compile
Hi You need the 64bit version of Qt (cocoa)
then to build sip and pyqt i used :
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=x86_64
PYQT :
python2.6 configure.py -d /Library/Python/2.6/site-packages
On Thu, Feb 25, 2010 at 8:33 AM, Massimo Di Stefano
massimodisa...@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 do not include support
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
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
This assumes a 64-bit python-3 installation. How was python installed?
My understanding is that the universal Mac binaries provided at
python.org do not include support for x86_64.
In that case, how can I use PyQt on Snow Leopard ?
___
PyQt mailing
Option 1: (64 bits Python 2.6) Easiest
You can use PyQt out of the box with the DEFAULT python 2.6 Framework install
and Qt 4.6 default framework. 64 bit
Option 2: (32 bits Python 3.x) Second Easiest
You can install Python 3.x default framework, manually build Qt 4.6 in 32
bit mode and
Thanks for this information and for the link.
C.
==
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