[PyKDE] PyQt / SIP v4 Snapshots for MacOS/X

Phil Thompson phil at riverbankcomputing.co.uk
Tue Oct 21 18:40:00 BST 2003


On Tuesday 21 October 2003 5:15 pm, Ricardo Javier Cardenes Medina wrote:
> On Tue, Oct 21, 2003 at 02:05:27PM +0100, Phil Thompson wrote:
> > Put typedef void *HANDLE in the Qt class in qnamespace.sip.
>
> Ok... Now, the problems:
>
>   $ python canvas.py
>   Traceback (most recent call last):
>     File "canvas.py", line 4, in ?
>       from qt import *
>   ImportError: No module named qt
>
> I tried to import libsip and others but:
>   >>> import libsip
>
>   Traceback (most recent call last):
>     File "<stdin>", line 1, in ?
>   ImportError: Loaded module does not contain symbol _initlibsip

You need to rename all the .so files so that they don't start with lib, ie. 
qt.so etc.

Phil




More information about the PyQt mailing list