I've noticed that #include <QObject> doesn't seem to be necessary in the .h when you subclass QObject.
Is it included in all files associated with a .pro file, or is the Q_OBJECT macro responsible?
I've noticed that #include <QObject> doesn't seem to be necessary in the .h when you subclass QObject.
Is it included in all files associated with a .pro file, or is the Q_OBJECT macro responsible?
Last edited by ravas; 30th October 2015 at 17:49.
Bookmarks