Is there a way to access the QMetaObject for a non QObject subclass that has the Q_GADGET macro, in runtime, by class name or by type id? I'm looking for something similar to const QMetaObject * QMetaType::metaObjectForType(int type)
What I'm trying to write here is a generic function that returns the string value of Q_ENUMS stored in a QVariant. Any hints appreciated. Cheers, -- Shady Zayat
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest