[PyQt] Compiling PyQt on Mac OS X
Kevin Walzer
kw at codebykevin.com
Wed Aug 20 20:41:24 BST 2008
Daniel Miller wrote:
> I'm having problems compiling PyQt on Mac OS X.
>
>
> Library versions:
>
> Mac OS X 10.4.11
> Python 2.5.1
> qt-mac-opensource-src-4.4.1
> PyQt-mac-gpl-4.4.3
> sip-4.7.8-snapshot-20080817
>
>
> Commands used to compile SIP:
>
> $ python configure.py -n -s MacOSX10.4u.sdk
> $ make
>
>
> Commands used to compile Qt:
>
> $ ./configure -release -nomake examples -nomake demos -no-qdbus
> -universal -no-framework
> $ make
> $ sudo make install
Why are you building Qt as no-framework? I thought Qt had to be built as
a framework to build on OS X.
I've found the easiest way to build PyQt is to link it against the
binary intaller from Trolltech. It saves you the trouble of building Qt,
and PyQt builds fine (after you build sip et al. first).
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
More information about the PyQt
mailing list