uic fails to generate code with QUndoView
Ivan Sinkarenko <[email protected]> Mon, 20 Apr 2020 17:43:57 +0200
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
Hi Phil, I've noticed that PyQt (5.12-5.14 at least) fails to generate code from *.ui files containing QUndoView. The problem seems to be in pyuic/uic/Compiler/qtproxies.py missing the declaration of the class, e.g. "QUndoView(QListView): pass". Adding the declaration fixes the problem. I tested it with pyuic5, but I image that uic.loadUi() should be affected as well. Cheers, Ivan _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt