QGenericPluginFactory Class

The QGenericPluginFactory class creates plugin drivers. More...

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

Static Public Members

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

Detailed Description

See also QGenericPlugin.

Member Function Documentation

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

Creates the driver specified by key, using the given specification.

Note that the keys are case-insensitive.

See also keys().

[static] QStringList QGenericPluginFactory::keys()

Returns the list of valid keys, i.e. the available mouse drivers.

See also create().

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