QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data. 更多...
| 头: | #include <QStaticPlugin> |
| qmake: | QT += core |
| Since: | Qt 5.2 |
| QObject * | instance () |
| QJsonObject | metaData () const |
| const char * | rawMetaData () |
QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data.
另请参阅 QPluginLoader and 如何创建 Qt 插件 .
返回插件实例。
另请参阅 QPluginLoader::staticInstances ().
返回插件的元数据,以 QJsonObject .
另请参阅 rawMetaData ().
返回插件的原生元数据。
另请参阅 metaData () 和 Q_PLUGIN_METADATA ().