[PyQt] uic fails to generate code with QUndoView
ivan.sinkarenko at cern.ch
Mon Apr 20 16:43:57 BST 2020
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.
More information about the PyQt