Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
55faad4873a9409bb1b33a10da7329d13a95aff9
Description
Exposing an enum to QML where a named value == -1 is invalid, at least for Qt, as QMetaObject::indexOfEnumerator returns -1 for a value that was not found. This ultimately gives a value of undefined.
Spin-off from QTBUG-21672.