I am looking for something like this:
MyClass::metaObject()->className()
which does not work, because at the time this code is executed, there is no instance of MyClass.
If possible, is there a way to get all the class names that were obtained from MyClass?
source
share