![]() |
Qt 6.x
The Qt SDK
|
#include <qpluginloader.h>
Static Public Member Functions | |
static QObjectList | staticInstances () |
Returns a list of static plugin instances (root components) held by the plugin loader. | |
static QList< QStaticPlugin > | staticPlugins () |
Returns a list of QStaticPlugins held by the plugin loader. | |
Related Symbols | |
(Note that these are not member symbols.) | |
void Q_CORE_EXPORT | qRegisterStaticPluginFunction (QStaticPlugin plugin) |
Definition at line 56 of file qpluginloader.h.
|
static |
Returns a list of static plugin instances (root components) held by the plugin loader.
Definition at line 403 of file qpluginloader.cpp.
References QList< T >::reserve(), and QList< T >::size().
|
static |
Returns a list of QStaticPlugins held by the plugin loader.
The function is similar to \l staticInstances() with the addition that a QStaticPlugin also contains meta data information.
Definition at line 422 of file qpluginloader.cpp.
Referenced by QFactoryLoader::instance(), QQmlJSLinter::loadPlugins(), makePlugins(), and QFactoryLoader::metaData().
|
related |
Registers the plugin specified with the plugin loader, and is used by Q_IMPORT_PLUGIN().
Definition at line 381 of file qpluginloader.cpp.
References QList< T >::constBegin(), QList< T >::constEnd(), QList< T >::insert(), p1, p2, and pos.