MetaObject from class name
-
Hi
In my application I have a class name as a string
This is the name of a class derived from QObject.
Now what I would like to do is the get metaObject for this class from the stringIs this at all possible?
Many thanks
-
Hi,
Do you mean the metaObject of an instance of that class ?
-
Kinda
I dont have an instance of the class tho so maybe I can create on using QMetaType?? -
That would be a solution yes, once you registered your class