Proper use of Q_OBJECT?
- by Jen
If I derive my class from QObject (or a subclass), the Qt documentation says that I have to put the Q_OBJECT macro into my class declaration.
It also ways I need to "run the meta-object compiler" for my class.
I have no idea how to do this. Is this something I need to add to the .pro file? Do I need to edit the makefile? This seems overly complicated for a simple derived class.
I'm using Qt Creator.