Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.1, 6.6.2
-
None
-
f3bcbfd6a (dev), ec692b22e (6.7), 3a8028b39 (6.6), 444810849 (tqtc/lts-6.5), 51ab1cb09 (tqtc/lts-6.2)
Description
Aliasing to enums does not work as in Qt 6.6.0 and earlier anymore.
If an alias property is referencing an enum we get an error when assigning an integer value to the enum.
Invalid property assignment: unknown enumeration\n"
This patch provides a workaround for one of our components: https://codereview.qt-project.org/c/qt-labs/qtquickdesigner-components/+/535854
Instead of aliasing we simply forward the property.
See QTBUG-121710 for more details.
Attachments
Issue Links
- relates to
-
QTBUG-126615 Invalid property assignment: unknown enumeration
- Reported
-
QDS-12016 Unrecognized Enumeration Issue (joinStyle and strokeStyle) in Qt Creator - Design Studio, Figma Bridge Bug
- Closed
-
QDS-11845 Unable to open E-Bike Design example
- Closed
For Gerrit Dashboard: QTBUG-121710 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
536296,4 | QtQml: Re-allow assigning of raw numbers to enum property aliases | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
536689,2 | QtQml: Re-allow assigning of raw numbers to enum property aliases | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
536726,3 | QtQml: Re-allow assigning of raw numbers to enum property aliases | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
536793,1 | QtQml: Re-allow assigning of raw numbers to enum property aliases | 6.6.2 | qt/qtdeclarative | Status: ABANDONED | +1 | 0 |
536839,3 | QtQml: Re-allow assigning of raw numbers to enum property aliases | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
537312,3 | QtQml: Re-allow assigning of raw numbers to enum property aliases | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |