[PyQt] pyuic4 issues uncovered from PyQwt5
phil at riverbankcomputing.com
Tue Oct 5 18:08:39 BST 2010
On Mon, 4 Oct 2010 13:11:41 +0200, "Hans-Peter Jansen" <hpj at urpla.net>
> Hi Phil,
> I've tackled to build PyQwt5 in my build service repo for openSUSE
> A few tests revealed some issues of pyuic4. Try to compile the attached
> description. It produces code like:
> self.AnalogClock = Qwt5.QwtAnalogClock(Dialog)
> Please note the property value QtGui.QwtDial.Plain: it should read
> Qwt5.QwtDial.Plain. Consequently, other references to Qwt5 property
> are wrong as well.
> Finally, the import for Qwt5 is below the widget code. While this does
> lead to wrong behavior, it is somewhat "surprising", as everybody would
> expect these imports located near the PyQt4 imports.
Should be fixed in tonight's snapshot.
More information about the PyQt