Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How can I access to a function defined like "protected Q_SLOT" in the library?
Bastbeat last edited by
I am using a qt application, and I need to call a function from the cpp. Just calling the function, without signals.
How can I do that?
Hi and welcome to devnet,
A slot can be called like any other functions and since yours is protected your can only call it inside a subclass