[PyKDE] pyqt on macos not functional

Phil Thompson phil at riverbankcomputing.co.uk
Tue Apr 6 19:27:01 BST 2004


On Tuesday 06 April 2004 4:06 pm, Jay Lyerly wrote:
> Hi,
>
> I think I must be doing something bone-headed, but I can't get PyQt on
> Macos to work.
>
> I've compiled the following on OSX 10.3.2
>
> qt-mac-free 3.3.1
> PyQt-mac-gpl 3.11
> sip 3.10
>
> Everything compiled okay and installed.  (I had to coax a few things
> since OSX wants shared libraries to be .bundle's and not .so's)  When I
> run any of the examples, or a simple helloworld, I get nothing.  Top
> shows python start up, do some work for a few seconds and then cpu
> usage drops to zero.
>
> python -vv foo.py shows the loading of all the shared objects and stops
> after
>
> import sip # dynamically loaded from
> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
> site-packages/sip.so
> import qt # dynamically loaded from
> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/
> site-packages/qt.so
>
> and it just sits there.  No gui, no nothing.  Behaviour is the same
> with python and pythonw.  (pythonw does start up the dock icon.)
>
> I'm confused by the lack of errors.  Do I need a snapshot or something
> instead of the realease code?

You say some contradictory things...

MacOS requires SIP v4.x not 3.x, but names like "sip.so" and "qt.so" are v4.x 
generated modules - so which version have you installed?

SIP/PyQt doesn't used shared libraries, so you should need to do any 
"coaxing".

Phil




More information about the PyQt mailing list