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

자세한 설명

QPluginLoaderQt 플러그인 생성 방법도참조하십시오 .

멤버 함수 문서

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.