[PyKDE] Error when loading libqtc for PyQt3.7

Phil Thompson phil at riverbankcomputing.co.uk
Thu Jul 10 16:53:01 BST 2003


On Thursday 10 July 2003 2:47 pm, Pablo de Vicente wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> El Jueves 10 de Julio de 2003 13:26, escribiste:
> > Hi,
> >
> > On Thu, Jul 10, 2003 at 01:04:41PM +0200, Pablo de Vicente wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hello,
> > >
> > >   I have compiled and installed QScintilla 1.53, Sip 3.7 and PyQt 3.7
> > > (on that order) in a Debian Woody system. The first two packages work
> > > fine but I have trouble with PyQt. PyQt compiles well but when I try
> > > python it gives an error:
> > >
> > > python
> > >
> > > >>> import libsip
> > > >>> import libqtc
> > >
> > > Traceback (most recent call last):
> > >   File "<stdin>", line 1, in ?
> > > ImportError: /usr/lib/python2.2/site-packages/libqtcmodule.so:
> > > undefined symbol: metaObject__C9QSGIStyle
> > >
> > > Do you have any clue on how to overcome this problem?.
> >
> > This seems like an old problem that bit me back when I compiled against
> > the Debian-distributed Qt. For a possible solution, see README.Linux in
> > the PyQt-distribution.
> >
> > //Fredrik
>
> Hello,
>
>    I have tried including #define QT_NO_STYLE_SGI in
> $QTDIR/include/qconfig.h and now it is worse since PyQt does not compile.

Make sure you remove the file "features" and re-run build.py.

Phil




More information about the PyQt mailing list