Quote Originally Posted by jkyle View Post
Don't you need to have the Q_OBJECT macro first?
No, flags can also be used in non QObject based classes. See the example in the QFlags documentation.