Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Can I expose the enum of a struct marked as Q_GADGET and the enum with Q_ENUM to qml?
qmlRegisterType<IsNowStruct>("IsNowStruct", 1, 0, "IsNowStruct"); // works if it s class, fails if it is struct.
I found that it still has to be a QObject derived type.