Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.4.0
-
None
Description
Warn or reject or fix enum declarations in inline components: those enums are unusable 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-107063 qmltc: reject enums in inline components
- Closed