QGenericPluginFactory Class

The QGenericPluginFactory class creates plugin drivers. More...

Header: #include <QGenericPluginFactory>
CMake: find_package(Qt6 COMPONENTS Gui REQUIRED) 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().

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.0/qgenericpluginfactory.html