Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.4.1
Description
The attached example runs into
Warning: main.qml:11:26: Unqualified access property int evtype: EventType.INFO ^^^^^^^^^ Error: main.qml:11:26: Could not compile binding for evtype: Cannot access value for name EventType property int evtype: EventType.INFO ^^^^^^^^^
until you make EventType inherit from QObject and replace Q_GADGET by Q_OBJECT.
From my understanding (and it works for some years in runtime), pure gadgets should be able to keep enums.