En esta página

QStaticPlugin Struct

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

Encabezado: #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 complementos de Qt».

Documentación de las funciones miembro

QJsonObject QStaticPlugin::metaData() const

Devuelve los metadatos del complemento como un objeto de tipo « QJsonObject ».

Véase también Q_PLUGIN_METADATA().

Documentación sobre variables de miembro

QtPluginInstanceFunction QStaticPlugin::instance

Almacena la instancia del complemento.

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.