pyuic6 bug

Ian Rodriguez ianlemuelr at gmail.com
Sat Mar 6 14:00:46 GMT 2021


I am using pyqt6 (6.0.2) and qt designer from pyqt5-tools. As of this
writing, I have updated modules by pip install --upgrade.
I am compiling during runtime using uic.compileUI.
I set the layoutSizeConstraint to any value (if I don't touch the combobox,
it is fine) and this error occurs. Even returning it to the previous value
does not work. It seems that QtWidgets.QLayout.SizeConstraint is not used.

I have tried changing
<enum>QLayout::SetMinimumSize</enum>
to
<enum>QLayout::SizeConstraint::SetMinimumSize</enum>
and it works, but I assume that pyuic6 should translate it properly.
Thanks.
[image: image.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210306/18e8055a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 66931 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210306/18e8055a/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyClicker.ui
Type: application/octet-stream
Size: 3702 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210306/18e8055a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ui_PyClicker.py
Type: text/x-python
Size: 3884 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210306/18e8055a/attachment-0001.py>


More information about the PyQt mailing list