[Qt-interest] Access QMetaObject by type name string

Anton Khodakivskiy akhodakivskiy at gmail.com
Fri Jul 31 23:39:58 CEST 2009


Hi
Is it possible to access the QMetaObject for a QObject via the tpe name
string,

so instead of
meta = MyType::staticMetaObject
I would write
meta = functionThatReturnsMetaObject("MyType");

Is there such a functionality?

Thanks
Anton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090731/72947623/attachment.html 


More information about the Qt-interest-old mailing list