En esta página

QStaticPlugin Struct

QStaticPlugin es una estructura que contiene una referencia a una instancia de plugin estático junto con sus metadatos. Más...

Cabecera: #include <QStaticPlugin>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

Funciones Públicas

QJsonObject metaData() const

Variables públicas

QtPluginInstanceFunction instance

Descripción Detallada

Véase también QPluginLoader y Cómo crear plugins de Qt.

Documentación de Funciones Miembro

QJsonObject QStaticPlugin::metaData() const

Devuelve los metadatos del complemento como QJsonObject.

Véase también Q_PLUGIN_METADATA().

Documentación de variables miembro

QtPluginInstanceFunction QStaticPlugin::instance

Contiene la instancia del plugin.

Véase también QPluginLoader::staticInstances().

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.