PyQt6 QFormLayout and uic

Timmy Welch timmy at narnian.us
Mon Nov 15 17:14:00 GMT 2021


Awesome, thanks!

-Timmy


On Mon, Nov 15, 2021 at 1:50 AM Phil Thompson
<phil at riverbankcomputing.com> wrote:
>
> On 14/11/2021 20:14, Timmy Welch wrote:
> > Hello,
> > I am trying to convert a python app from PyQt5 to PyQt6 and I am using
> > the uic module to load the GUI.
> > However uic fails loading when I have either the
> > layoutFieldGrowthPolicy or
> > rowWrapPolicy fields set on a QFormLayout, attached is an example ui
> > file
> > that fails when ran with 'pyuic6 -p' and the output from 'pyuic6
> > --debug
> > -p'.
> > From my own investigation into the issue it appears that these enums
> > need
> > to be added to PyQt6/uic/enum_map.py.
> >
> > Any assistance would be appreciated.
>
> Should be fixed in the next snapshot.
>
> Thanks,
> Phil


More information about the PyQt mailing list