<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 5.50.4134.600" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=496173408-08042002>> </SPAN>I compiled PyQt and sip 3.4 on
Mandrake 9.0 (Qt 3.0.5, python 2.2.1) and <BR><SPAN
class=496173408-08042002>> </SPAN>everything went fine. But then when I
import qt I get this error:<BR><SPAN class=496173408-08042002></SPAN><FONT
face=Arial size=2>></FONT><BR><SPAN class=496173408-08042002><FONT face=Arial
size=2>></FONT></SPAN>>>> import qt<BR><SPAN
class=496173408-08042002>></SPAN>Traceback (most recent call
last):<BR> <SPAN class=496173408-08042002>></SPAN> File "<stdin>",
line 1, in ?<BR><SPAN class=496173408-08042002>></SPAN> File
"/usr/lib/python2.2/site-packages/qt.py", line 39, in ?<BR><SPAN
class=496173408-08042002>></SPAN> import libqtc<BR><SPAN
class=496173408-08042002>></SPAN>ImportError:
/usr/lib/python2.2/site-packages/libqtcmodule.so: undefined <BR><SPAN
class=496173408-08042002>></SPAN>symbol: _ZNK9QSGIStyle9classNameEv<BR><SPAN
class=496173408-08042002></SPAN><FONT face=Arial size=2>></FONT><BR><SPAN
class=496173408-08042002><FONT face=Arial size=2>></FONT></SPAN>I tried to do
what was said in the README.Linux file but then I just got <BR><SPAN
class=496173408-08042002>></SPAN>a lot of error messages when trying to
compile.<BR><SPAN class=496173408-08042002></SPAN><FONT face=Arial
size=2>></FONT><BR><SPAN class=496173408-08042002><FONT face=Arial
size=2>></FONT></SPAN>Has anyone had similar problems and is there a solution
to this?<BR></DIV>
<DIV><SPAN class=496173408-08042002></SPAN><FONT face=Arial><FONT size=2>T<SPAN
class=496173408-08042002>he problem is Qt for Mandrake is not compiled with all
styles. So, you have to patch PyQT sources to remove such styles. I can send you
the path this evening from home, or you can dowload from <A
href="http://www.mandrakeclub.com">www.mandrakeclub.com</A> the srpm I made for
8.2 and rebuild it for 9.0. </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=496173408-08042002></SPAN></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT size=2><SPAN
class=496173408-08042002> Jérôme</SPAN></FONT></FONT></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>