QStaticPlugin is a struct containing a reference to a static plugin instance together with its meta data. More...
Header: | #include <QStaticPlugin> |
CMake: | find_package(Qt6 COMPONENTS Core REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
Since: | Qt 5.2 |
QJsonObject | metaData() const |
QtPluginInstanceFunction | instance |
See also QPluginLoader and How to Create Qt Plugins.
Returns a the meta data for the plugin as a QJsonObject.
See also Q_PLUGIN_METADATA().
Holds the plugin instance.
See also QPluginLoader::staticInstances().
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qstaticplugin.html