Bug 183205 - pykdeuic4 generates wrong imports for KDE classes
Summary: pykdeuic4 generates wrong imports for KDE classes
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-04 19:03 UTC by Adeodato Simó
Modified: 2009-02-04 20:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adeodato Simó 2009-02-04 19:03:00 UTC
From http://bugs.debian.org/475403:

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

Correct would be:
> from PyKDE4.kdeui import KComboBox

As the Python class needs to be converted after every change made in Qt
Designer this bug is a bit annoying as changes made to the class are lost on
each update.

---

I can reproduce this problem, and is very annoying.
Comment 1 Simon Edwards 2009-02-04 20:51:48 UTC
Yes, I noticed this. The fix has been done and will be in 4.2.1.