In questa pagina

QStaticPlugin Struct

QStaticPlugin è una struttura che contiene un riferimento a un'istanza statica di plugin insieme ai relativi metadati. Per saperne di più...

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

Funzioni pubbliche

QJsonObject metaData() const

Variabili pubbliche

QtPluginInstanceFunction instance

Descrizione dettagliata

Vedi anche QPluginLoader e Come creare plugin Qt.

Documentazione sulle funzioni membro

QJsonObject QStaticPlugin::metaData() const

Restituisce i metadati del plugin sotto forma di oggetto ` QJsonObject`.

Vedi anche Q_PLUGIN_METADATA().

Documentazione sulle variabili membro

QtPluginInstanceFunction QStaticPlugin::instance

Contiene l'istanza del plugin.

Vedi anche 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.