QGenericPluginFactory Class

QGenericPluginFactory 클래스는 플러그인 드라이버를 생성합니다. 더 보기...

헤더: #include <QGenericPluginFactory>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
qmake: QT += gui

정적 공용 멤버

QObject *create(const QString &key, const QString &specification)
QStringList keys()

자세한 설명

QGenericPlugin참조하십시오 .

멤버 함수 문서

[static] QObject *QGenericPluginFactory::create(const QString &key, const QString &specification)

주어진 specification 을 사용하여 key 에 지정된 드라이버를 생성합니다.

키는 대소문자를 구분하지 않습니다.

keys()도 참조하세요 .

[static] QStringList QGenericPluginFactory::keys()

유효한 키 목록, 즉 사용 가능한 마우스 드라이버를 반환합니다.

create()도 참조하세요 .

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