[PyQt] Bad importing of KDE classes in pykdeuic4

Adeodato Simó dato at net.com.org.es
Thu Apr 10 21:44:55 BST 2008


In http://bugs.debian.org/475403 a user reported that KDE classes are
not imported correctly in pykde4 output:

| Using pykdeuic4 to convert UI files generated by Qt Designer to Python
| classes results in wrong mappings for many KDE4 widgets.

| While standard classes are imported correctly...
| > from PyKDE4 import kdecore
| > from PyKDE4 import kdeui
| > from PyQt4 import QtCore, QtGui
| ....special widgets are imported at the end of the document giving a non-
| existent package:
| > from kcombobox import KComboBox

See the two attached files for an example.

Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
Excuse me for thinking a banana-eating contest was about eating a banana!
                -- Paris Geller
-------------- next part --------------
<ui version="4.0" >
 <widget class="QDialog" name="Dialog" >
  <property name="geometry" >
  <property name="windowTitle" >
  <layout class="QVBoxLayout" >
    <widget class="KComboBox" name="kcombobox" />
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kcombobox.py
Type: text/x-python
Size: 897 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080410/123119d6/kcombobox.py

More information about the PyQt mailing list