Thanks. That did the trick.

I recompiled with the rc for sip4 and everything works now. I originally grabbed sip 3.11 b/c it listed OSX as working. Only after reviewing the reqs for PyQt (as you stated) did I see that PyQt needs sip4 for the mac.

Cheers,
jay

On Apr 6, 2004, at 1:24 PM, Phil Thompson wrote:

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


_______________________________________________ PyKDE mailing list [EMAIL PROTECTED] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to