-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Qt Creator 4.6.2
https://doc.qt.io/qt-5/qml-enumeration.html For backwards compatibility, the enumeration value may also be specified as a string, e.g. "AlignRight". This form is not recommended for new code.
Currently QtCreator does not mark invalid enumeration values, when using the suggested assignment for new code from the documentation.
However, the old way of assigning a string value to an enumeration receives error checking.
See attached image
We should include error checking for the recommended enumeration assignments aswell.
- relates to
-
QTCREATORBUG-19226 Support QML enums in the code model
-
- Closed
-