<div dir="ltr"><div dir="ltr"><div dir="ltr">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.<div>I am compiling during runtime using uic.compileUI.<br>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.</div><div><br></div><div>I have tried changing</div><div><div style="color:rgb(51,51,51);background-color:rgb(253,246,227);font-family:Consolas,"Courier New",monospace;font-size:16px;line-height:22px;white-space:pre"><<span style="color:rgb(38,139,210)">enum</span>>QLayout::SetMinimumSize</<span style="color:rgb(38,139,210)">enum</span>></div><div style="color:rgb(51,51,51);background-color:rgb(253,246,227);font-family:Consolas,"Courier New",monospace;font-size:16px;line-height:22px;white-space:pre">to<br></div><div style="color:rgb(51,51,51);background-color:rgb(253,246,227);font-family:Consolas,"Courier New",monospace;font-size:16px;line-height:22px;white-space:pre"><div style="line-height:22px"><<span style="color:rgb(38,139,210)">enum</span>>QLayout::SizeConstraint::SetMinimumSize</<span style="color:rgb(38,139,210)">enum</span>></div><div style="line-height:22px">and it works, but I assume that pyuic6 should translate it properly.</div><div style="line-height:22px">Thanks.</div></div><img src="cid:ii_klxsfcsx2" alt="image.png" width="490" height="240"><br></div></div></div></div>