PyQt6.uic issue?

José Antonio Fernández Fernández aullasistemas at gmail.com
Tue Feb 9 13:13:43 GMT 2021


Hi, when I try to load a .ui v4.0 file with uic.loadUi it returns the
following error:
AttributeError: type object 'QSizePolicy' has no attribute 'Fixed'

Attached a very simple example that works with PyQt5 uic.
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210209/774fd847/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demo.ui
Type: application/x-designer
Size: 1008 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210209/774fd847/attachment.bin>


More information about the PyQt mailing list