[PyKDE] Pb import qt

Jérôme Martin jerome.f.martin at free.fr
Mon Sep 16 22:54:00 BST 2002


> Hi, Jerome.
> 
> > >>> import qt
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File "/usr/lib/python2.2/site-packages/qt.py", line 53, in ?
> >     import libqtc
> > ImportError: /usr/lib/python2.2/site-packages/libqtcmodule.so: undefined 
> > symbol: metaObject__C9QSGIStyle
> 
> Read the README.Linux file on PyQt distribution. There are a little
> problems with Mandrake and Debian.
Yes, I have tried to apply README.Linux file infos but now, it failed during 
compilation with following message :

"In file included from qtcmodule.cpp:204:
sipqtQSGIStyle.h:64: parse error before `{' "

with line sipqtQSGIStyle.h:63 : 'class SIP_MODULE_EXTERN sipQSGIStyle : public 
QSGIStyle'.

How did you managed this problem for debian ?







More information about the PyQt mailing list