[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Re: ImportError: cannot import name QCommonStyle
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2003-04-17 11:37:21
[Download RAW message or body]

On Thursday 17 April 2003 12:13 pm, Mateusz Korniak wrote:
> On Thursday 17 of April 2003 11:09, you wrote:
> > I have such problem (with qt 3.1.2 PyQt 3.5, sip 3.5, kde 3.1.1a PyKDE
> > 3.5), I'm investigating it, but any hints are apreciated. TIA
> >
> > >>> import khtml
> >
> > Traceback (most recent call last):
> > (...)
> > ImportError: cannot import name QCommonStyle
>
> I'm not sure if write anything sensible below but al least now I'm able to
> import khtml :)
>
> Only thing I had to change was in
> qcommonstyle.sip:52
> comment out %If (Qt_STYLE_WINDOWS || Qt_STYLE_MOTIF) / %End pair
>
> First of all I'm unable to google for any sensible documentation relating
> Qt Styles compiled as plugins, content /usr/X11R6/include/qt/qconfig.h in
> such case also I am total sip ignorant, and thus I'm unable to give any
> sensible explanation why it works nor if it should be solved like that.

That's the correct solution - and has already been implemented in the snaphot.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic