Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.7.1
-
None
-
Windows XP Professional (Version 2002, Service Pack 3) and Mac Os X Snow Leopard (Version 10.6.5).
Description
Only enumerators whose name begins with a capital letter are recognized in QML code. For example, if one defines the following enumerated type in a class and then reveals it to QML, only the first, the second, and the fourth enumerators are recognized and the other two are undefined:
enum Type
{ Other = 0, TypeA, typeB, TypeC, tYPEd }There is no such limitation in C++ in general.
Attachments
Issue Links
- duplicates
-
QTBUG-46758 QML does not allow use of lower-case enum
- Closed