Severe issue with pyuic6 6.7.0

Detlev Offenbach detlev at die-offenbachs.de
Fri Jun 7 08:11:09 BST 2024


Hi Phil,

attached please find a patch to uic/properties.py that make pyuic work 
with Qt 6.7.

Regards,
Detlev

Am 06.06.24 um 17:40 schrieb Phil Thompson:
> On 06/06/2024 16:26, Detlev Offenbach wrote:
>> Hi Phil,
>>
>> I just modified a designer form file using Qt Designer 6.7.1 and tried
>> to compile it to a Python file with pyuic6 of PyQt 6.7.0.
>> Unfortunately that fails. It seems that pyuic6 cannot handle the way
>> enums are written to the .ui file (see attached form file and diff to
>> previous version).
>>
>> If I manually edit (e.g.)
>>
>> <enum>Qt::Orientation::Vertical</enum>
>>
>> to read
>>
>> <enum>Qt::Vertical</enum>
>>
>> pyuic6 is able to compile the form file again. Unfortunately this is
>> kind of a show stopper for me. 😭
>>
>> Regards, Detlev
>
> I know that Designer v6.7.1 has some major problems, so I'll wait for 
> v6.7.2 before looking at it.
>
> Phil

-- 
Detlev Offenbach
detlev at die-offenbachs.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: properties.py.diff
Type: text/x-patch
Size: 825 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240607/f99fa2b0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xBD1F26A5DA8A6150.asc
Type: application/pgp-keys
Size: 660 bytes
Desc: OpenPGP public key
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240607/f99fa2b0/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20240607/f99fa2b0/attachment.sig>


More information about the PyQt mailing list