QStaticPlugin Struct

QStaticPlugin ist eine Struktur, die eine Referenz auf eine statische Plugin-Instanz zusammen mit ihren Metadaten enthält. Mehr...

Kopfzeile: #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

Detaillierte Beschreibung

Siehe auch QPluginLoader und Wie man Qt Plugins erstellt.

Dokumentation der Memberfunktionen

QJsonObject QStaticPlugin::metaData() const

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

Siehe auch Q_PLUGIN_METADATA().

Dokumentation der Mitgliedsvariablen

QtPluginInstanceFunction QStaticPlugin::instance

Enthält die Plugin-Instanz.

Siehe auch QPluginLoader::staticInstances().

© 2025 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.