Details
-
Technical task
-
Resolution: Done
-
P3: Somewhat important
-
f368be4320 (qt/qtdeclarative/dev) f368be4320 (qt/tqtc-qtdeclarative/dev)
Description
Reject (for now) enum declarations in inline components: those enums are unusable even in the qml engine as they cannot be used neither inside nor outside the inline component they were defined
The syntax to using a value of the enum would be
QmlFileName.InlineComponentName.EnumType.EnumValue // from different qml file, does not work currently InlineComponentName.EnumType.EnumValue // from same qml file, does not work currently EnumType.EnumValue // inside the inline component defining this, does not work currently
See also QmlFileName.qml in attachment.
Attachments
Issue Links
- relates to
-
QTBUG-107087 qml: reject or warn about enums in inline components
- Reported