[PyKDE] Building PyQT without SGI style

Phil Thompson phil at river-bank.demon.co.uk
Tue Apr 16 06:05:57 BST 2002


Fredrik Juhlin wrote:
> 
> Hi!
> 
> I'm trying to build PyQT but I'm running into trouble.
> 
> I've come to the point where I can get it to compile, but when Python tries
> to import the module, I get the error
> "ImportError: /usr/local/lib/python2.2/site-packages/libqtcmodule.so: undefined
> symbol: qt_cast__9QSGIStylePCc".
> 
> I'm building PyQT on a Debian machine and found that QT was indeed compiled
> without SGI style support. IS there any way to build PyQT so that it doesn't
> depend on the SGI style?

If they have missed out classes then they should also have added
#defines to $QTDIR/include/qconfig.h. Try adding...

#define QT_NO_STYLE_SGI

...to that file and re-build PyQt.

Phil





More information about the PyQt mailing list