Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Creating QT class object in normal cpp class.
ashajg last edited by ashajg
Consider their are two classes one is normal cpp class say abc and other is extended from qobject say xyz.
Now I want to call a function of class xyz from abc.
I am trying to create object of xyz in abc but it is throwing error.
How can I do this?
Thanks and Regards
Pablo J. Rogina last edited by
it is throwing error.
What error? This is not a magicians' forum...
but it is throwing error
Why don't you post the error?
ashajg last edited by
Sorry for the mistake.
Actually the error was unknown type name it was throwing when I was trying to create the object
But it is solved Now.
Pradeep Kumar last edited by
nice to hear u found out the error
can u mark as solved the topic