[PyKDE] PyKDE compiling error

Marc Lavallée odradek at videotron.ca
Tue Apr 8 23:14:01 BST 2003

Le mar 08/04/2003 à 06:59, Ricardo Javier Cardenes Medina a écrit :
> PyQt build excludes QCommonStyle if there's no QWindowsStyle nor
> QMotifStyle (because these are the only classes from Qt that inherits
> directly from QCommonStyle). You need to edit sip/qcommonstyle.sip on
> PyQt and remove:
> and one of the %End you'll find at the end of the file. Rebuild PyQt.
> You don't need to rebuild PyKDE. Phil is aware of this.

Ok, now it works! :-)

But then, here's another error:

[marc at marc examples2]$ python uisampler.py
Traceback (most recent call last):
  File "uisampler.py", line 9, in ?
    from uiwidgets import *
  File "uiwidgets.py", line 7, in ?
    from kdeui import KEdit, KComboBox, KColorCombo, KEditListBox,
KListBox, KLineEdit, KRestrictedLine,\
ImportError: cannot import name KDirectionButton

Is it "normal"? 
Besides, the examples in the "examples3" folder are working,


More information about the PyQt mailing list