Is it possible to pass enums from a C++ Q_OBJECT class using Q_INVOKABLE to a QML implementation. There is an error that I am getting with it:
main.qml:185: Error: Unknown method return type: FaultWarningItem::ItemType
This happens when I attempt to return a enum as part of the Q_INVOKABLE:
Q_INVOKABLE FaultWarningItem::ItemType getItemErrorType(void);
↧