PyQt on the Mac: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 12: Line 12:


Now I am backing off a step and trying to build QT from sources.
Now I am backing off a step and trying to build QT from sources.
Oh MY but this takes a long time!


./configure; make; make install
./configure; make; make install

Revision as of 05:30, 17 May 2010

PyQt is a set of bindings for Python that allow you to build applications using the QT framework. So, in theory you can build one application that runs on any platform that supports Python and QT. This includes Macintosh, Linux, and Windows.

There is no binary installer for Macintosh.

First you have to build and install SIP. SIP is a tool for creating C/C++ bindings.

Then you have to build and install PyQT.

Sources for both are at Riverbank

Alas PyQT build failed because I have a 10.6 "Snow Leopard" MacBook Pro and the binary I installed from qt.nokia.com is a 32 bit version.

Now I am backing off a step and trying to build QT from sources. Oh MY but this takes a long time!

./configure; make; make install