[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] uic fails to generate code with QUndoView
From:       Ivan Sinkarenko <ivan.sinkarenko () cern ! ch>
Date:       2020-04-20 15:43:57
Message-ID: a4065b4a-c81a-5e0f-6c74-b8a65dce80a1 () cern ! ch
[Download RAW message or body]

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    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic