I get this error in my smtdplugin implementation file , when i try to return value. OK so i understand that i'm creating a pointer to an QAction , and when i try to return it , i can not do that because my method is waiting a reference to an object. But i dont know how to act (i'm a begginer) How to avoid this issue ? , and with success to return that object I get this error in my smtdplugin implementatio