Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QPluginLoader Class Reference

#include <qpluginloader.h>

+ Collaboration diagram for QPluginLoader:

Static Public Member Functions

static QObjectList staticInstances ()
 Returns a list of static plugin instances (root components) held by the plugin loader.
 
static QList< QStaticPluginstaticPlugins ()
 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)
 

Detailed Description

Definition at line 56 of file qpluginloader.h.

Member Function Documentation

◆ staticInstances()

QObjectList QPluginLoader::staticInstances ( )
static

Returns a list of static plugin instances (root components) held by the plugin loader.

See also
staticPlugins()

Definition at line 403 of file qpluginloader.cpp.

References QList< T >::reserve(), and QList< T >::size().

+ Here is the call graph for this function:

◆ staticPlugins()

QList< QStaticPlugin > QPluginLoader::staticPlugins ( )
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.

See also
staticInstances()

Definition at line 422 of file qpluginloader.cpp.

Referenced by QFactoryLoader::instance(), QQmlJSLinter::loadPlugins(), makePlugins(), and QFactoryLoader::metaData().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ qRegisterStaticPluginFunction()

void Q_CORE_EXPORT qRegisterStaticPluginFunction ( QStaticPlugin  plugin)
related
Since
5.0

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.

+ Here is the call graph for this function:

The documentation for this class was generated from the following files: