Auf dieser Seite

QStaticPlugin Struct

QStaticPlugin ist eine Struktur, die einen Verweis auf eine statische Plugin-Instanz sowie deren Metadaten enthält. Mehr...

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

Öffentliche Funktionen

QJsonObject metaData() const

Öffentliche Variablen

QtPluginInstanceFunction instance

Ausführliche Beschreibung

Siehe auch „ QPluginLoader “ und „So erstellen Sie Qt-Plugins“.

Dokumentation zu den Mitgliedsfunktionen

QJsonObject QStaticPlugin::metaData() const

Gibt die Metadaten für das Plugin als „ QJsonObject “ zurück.

Siehe auch ` Q_PLUGIN_METADATA()`.

Dokumentation zu Member-Variablen

QtPluginInstanceFunction QStaticPlugin::instance

Enthält die Plugin-Instanz.

Siehe auch „ 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.