hi there!
Im running Mac OS X 10.5.8 and Python 2.5.2;
having successfully installed:
- the latest Qt SDK I could find [mac open source]
- the latest SIP [4.11.1] that I succeeded to build (1)
I should be able to install PyQt 4.7.7, but even the first configure phase (2) fails when
invoking a "QT" command that doesn't exist:
Qt v4.7.0 free edition is being used.
Qt is built as a framework.
SIP 4.11.1 is being used.
... ... ...
Generating the C++ source for the QtCore module...
sh: QT: command not found
what am I missing?
has anybody else encountered this issue?
how did you solve it?
(1) the latest SIP [4.11.2] fails when running the "make install" command
(2) this is the usual "python configure.py" command, as recommended in the
README file
Hi Jym,
although I had successfully installed the previous version of Qt, PyQt
and Eric4 already, I took the chance to check out the new version.
I deinstalled it all completely and used the pre-installed Python 2.6
of Snow Leopard, only.
Intesting size increase, btw:
qt-sdk-mac-opensource-2010.04.dmg 584.3 MB
qt-sdk-mac-opensource-2010.05.dmg 972 MB
The majority is in the debug libraries, from 341.4 MB to 733.5 MB.
Then I followed
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#downloading-sip
using the official download links for sip-4.11.1.tar.gz and
QScintilla-gpl-2.4.5.tar.gz .
For SIP, I used i386, because I need it for psyco.
python configure.py --arch i386 --sdk MacOSX10.4u.sdk
make
sudo make install
Then, configured and made PyQt, accordingly,.
python configure.py --use-arch i386
make
sudo make install
This all worked smootly. Then I installed QScintilla, using
doc/html-Qt4/index.html .
To figure out how to build it for 32 bit, I had to read quite a bit more:
http://doc.trolltech.com/4.2/qmake-platform-notes.html
qmake qscintilla.pro-spec macx-g++ "CONFIG += x86"
make
sudo make install
And then the Python bindings, which uses the right flags now automatically.
python configure.py
make
make install
I stopped here, but I guess the need for the above settings will repeat
for example-Qt4 and designer-Qt4 .
Your differences are Mac OS X 10.5.8 and Python 2.5.2, so you will
have 32 bit by default. I will wait for your reply, and if it does not
work still, I will do a python 2.5 trial as well. So far I don't see what
could be wrong. Alas, I cannot test on 10.5 .
hope you can find it - ciao -- chris
--
Christian Tismer :^)<mailto:tis...@stackless.com>
tismerysoft GmbH : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG