[PyKDE] Building PyQT without SGI style
John R. Marshall
john at jrmstudios.com
Wed Apr 17 11:38:07 BST 2002
On Saturday 13 April 2002 05:33 am, Phil Thompson wrote:
> 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.
FYI for Mandrake 8.1/KDE3 users
Using Mandrake 8.1 with qt3 from the mandrake packages on the KDE mirrors you
need to add
John R. Marshall - Web Developer
JRM Studios - http://www.jrmstudios.com
The Hotrodding Network - http://www.hotrodding.net
More information about the PyQt