Doc: corrected error in doc static plugins
Task-number: QTBUG-43160 Change-Id: I94f92318cec095391050b2af90980010bd1066b9 Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
a31b4e93cb
commit
037b05ac76
@ -285,9 +285,9 @@
|
|||||||
|
|
||||||
\snippet tools/plugandpaint/main.cpp 0
|
\snippet tools/plugandpaint/main.cpp 0
|
||||||
|
|
||||||
The argument to Q_IMPORT_PLUGIN() is the plugin's name, as
|
The argument to Q_IMPORT_PLUGIN() is the plugin name, which corresponds
|
||||||
specified with Q_PLUGIN_METADATA() in the \l{Exporting the
|
with the name of the class that declares metadata for the plugin with
|
||||||
Plugin}{plugin}.
|
Q_PLUGIN_METADATA().
|
||||||
|
|
||||||
In the \c .pro file, we need to specify the static library.
|
In the \c .pro file, we need to specify the static library.
|
||||||
Here's the project file for building Plug & Paint:
|
Here's the project file for building Plug & Paint:
|
||||||
|
@ -93,9 +93,9 @@
|
|||||||
\macro Q_IMPORT_PLUGIN(PluginName)
|
\macro Q_IMPORT_PLUGIN(PluginName)
|
||||||
\relates <QtPlugin>
|
\relates <QtPlugin>
|
||||||
|
|
||||||
This macro imports the plugin named \a PluginName, corresponding
|
This macro imports the plugin named \a PluginName, which corresponds
|
||||||
to the \l{qmake Variable Reference#TARGET}{TARGET} specified in the
|
with the name of the class that declares metadata for the plugin with
|
||||||
plugin's project file.
|
Q_PLUGIN_METADATA().
|
||||||
|
|
||||||
Inserting this macro into your application's source code will allow
|
Inserting this macro into your application's source code will allow
|
||||||
you to make use of a static plugin.
|
you to make use of a static plugin.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user