[PyKDE] PyQt on Mandrake 10.1 fails to compile after README patch

Phil Thompson phil at riverbankcomputing.co.uk
Fri Jan 14 17:49:40 GMT 2005


On Friday 14 January 2005 5:20 pm, Parzival Herzog wrote:
> I am upgrading from Mandrake 9.2 to Mandrake 10.1, and consequently have to
> rebuild and install everything having to do with PyQT, PyKDE, eric, sip
> etc. I have had a number of problems in this process, and I do not know how
> to resolve the following problem:
>
> The newly built and installed PyQt would not work, giving
>
> Error: /usr/lib/python2.3/site-packages/qt.so: undefined symbol:
> _ZNK14QPlatinumStyle9classNameEv
>
> I edited qconfig.h so that it starts:
>
> /* Everything */
> #define QT_NO_STYLE_CDE
> #define QT_NO_STYLE_MOTIF
> #define QT_NO_STYLE_SGI
> #define QT_NO_STYLE_WINDOWS

You shouldn't need to edit qconfig.h anymore. It was needed when PyQt's build 
system didn't check for styles that had been built as plugins. configure.py 
should tell which styles have been disabled.

Phil




More information about the PyQt mailing list