Rerun qmake.
Thanks it is working.
Can i register a global enum using Q_ENUMS ?
I think the OP means an enum declared outside a class
The enum must be inside a class with Q_OBJECT or Q_GADGET macros or the supporting infrastructure is not there for QMetaObject and friends.
Bookmarks