SIGNALS in Inherit Classes
Hi,
I'm not able to define SIGNALS in inherit classes. I have defined the macro Q_OBJECT, and the class is inherithed from other class that inherits QObject.
Have I to define the SIGNALS in the base class? This is the only way that works.
There is no problem defining them on the base class but I would like to define them into the inherited class.
Thanks,
Re: SIGNALS in Inherit Classes
How are you not able? What's the error?
Is the class declaration in a separate header file? Have you re-run qmake after adding the Q_OBJECT macro?
Edit: also, make sure the header is listed in HEADERS in .pro file.
Re: SIGNALS in Inherit Classes
Oh, sorry, I have not added the macro Q_OBJECT in the inherited classes, I think that I wrote it, ... :rolleyes:
Thanks,