Details
Description
I have created a custom widget for QtDesigner (PySide6) with a new list attribute. When I try to generate the PY file from my UI file using pyside6-uic utility, the generated code translades the list into QStringList instead of a python list. Therefore I cannot run that code, because QStringList is obsolete since PyQt4.
This could be easily solved by translating the "stringlist" UI tag into a python list, like PyQt5 does.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2069 pyside6-uic generates dynamic properties with C++ types
- Closed
For Gerrit Dashboard: PYSIDE-1942 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
413012,2 | uic: Fix string list properties for Python | dev | qt/qtbase | Status: MERGED | +2 | 0 |