QStaticPlugin 是包含静态插件实例及其元数据的引用结构。 更多...
| 头: |
#include <QStaticPlugin>
|
| CMake: |
find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
|
| qmake: |
QT += core
|
| QJsonObject | metaData () const |
| QtPluginInstanceFunction | 实例 |
另请参阅 QPluginLoader and 如何创建 Qt 插件 .
返回插件的元数据,以 QJsonObject .
另请参阅 Q_PLUGIN_METADATA ().
Holds the plugin instance.
另请参阅 QPluginLoader::staticInstances ().