The QGenericPluginFactory class creates plugin drivers. 更多...
头: | #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
)
Creates the driver specified by key ,使用给定 specification .
Note that the keys are case-insensitive.
另请参阅 keys ().
[static]
QStringList
QGenericPluginFactory::
keys
()
Returns the list of valid keys, i.e. the available mouse drivers.
另请参阅 create ().