Can I create an object of a class at runtime, by extracting the class name stored in a string?
eg: I want to create and object of class QButton
like
QString strClassName = "QButton";
QButton *pBtn = new strClassName();
I want to read an xml file of all the controls and instantiate them at runtime using this way.
Thanks!