QStaticPlugin Struct

QStaticPlugin は、スタティックプラグインインスタンスへの参照とそのメタデータを含む構造体です。詳細...

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

パブリック関数

QJsonObject metaData() const

パブリック変数

QtPluginInstanceFunction instance

詳しい説明

QPluginLoader およびQt プラグインの作成方法も参照してください

メンバ関数のドキュメント

QJsonObject QStaticPlugin::metaData() const

プラグインのメタデータをQJsonObject で返します。

Q_PLUGIN_METADATA()も参照

メンバ変数のドキュメント

QtPluginInstanceFunction QStaticPlugin::instance

プラグインのインスタンスを保持します。

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.