Hi, pyuic 4.4.3 (for Qt 4.41, Ubuntu Ibex) generates invalid Python code: it calls setSortingEnabled(state) method on a QWidget whereas this class doesn't have such method. Error:
Traceback (most recent call last):
...
File ".../nufaceqt/ruleset_dialog_ui.py", line 52, in setupUi
self.tab.setSortingEnabled(__sortingEnabled)
AttributeError: setSortingEnabled
Input file (ruleset_dialog.ui) is attached to this email.
pyuic4 4.3 (for Qt 4.3.2, Ubuntu Gutsy) doesn't have this bug. So it's a
regression of the new version.
Similar bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=474972
This bug report was for cola project which now uses a workaround:
http://github.com/davvid/git-cola/commit/be70329b11f7a611db63e13255c9f9b74b76ab01
PS: Please CC-me to your answers.
--
Victor Stinner
http://www.inl.fr/
ruleset_dialog.py
Description: application/python
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
