Can I query a plugin for its supported Q_Properties ?
-
Hello
For learning I made a plugin with some properties.
In a test application I'm loading the dll dynamically with QPluginLoader and I can use the properties as expected.Now I want to see, which properties are supported by my plugin in order to make something like a "generic" property editor.
Are there possibilities?Thanks in advance
Thomas
-
Every QObject has a "QMetaObject":http://developer.qt.nokia.com/doc/qt-4.8/qmetaobject.html, which allows for retrieving information about properties. See also QObject::metaObject(), QMetaObject::propertyCount(), QMetaObject::property() and QMetaProperty.