I have created the interface and plugins by following this tutorial: And everything is working fine.
But I want to add a signal to the slot of the plugin.
I get an error while trying to do this, which is the lack of Q_OBJECT macro in the interface. When I add it, I get an error, which is now the interface and the plugin implement it. When I remove it from the plugin, the plugin is broken.
So my question is, is it possible to declare a QT interface with the slots implementing all the sections that transmit the interface?
No, your plugin does not have QObject both from its plugin interface and some other class or QObject can.
Comments
Post a Comment