Unable to use signal slot
-
Hi,
I have two classes. Both have Q_OBJECT macro. I want to use signal slot between them but there is always an error regarding moc.
error: undefined reference to `ClassName::SendDataToGUIAA(QString)'
-
Hi,
I have two classes. Both have Q_OBJECT macro. I want to use signal slot between them but there is always an error regarding moc.
error: undefined reference to `ClassName::SendDataToGUIAA(QString)'
Best you show the code sections with definitions and implementations of signals and slots.
What compiler are you using? -
Hi,
I have two classes. Both have Q_OBJECT macro. I want to use signal slot between them but there is always an error regarding moc.
error: undefined reference to `ClassName::SendDataToGUIAA(QString)'
-
Hi,
It is solved . I forgot to use explicit keyword.
Regards,
Avtansh