Hello all,
I come from a Java background where you can, given just a String that represents a class name, create an instance of that class. Something like:
Qt Code:
Class c = Class.forName("com.foo.MyClass"); MyObject o = c.newInstance();To copy to clipboard, switch view to plain text mode
Is there a similar mechanism provided by Qt? Or C++ in general?
Any help is greatly appreciated.
Thanks,
Derek
Bookmarks