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
|
||||
|
||||
The argument to Q_IMPORT_PLUGIN() is the plugin's name, as
|
||||
specified with Q_PLUGIN_METADATA() in the \l{Exporting the
|
||||
Plugin}{plugin}.
|
||||
The argument to Q_IMPORT_PLUGIN() is the plugin name, which corresponds
|
||||
with the name of the class that declares metadata for the plugin with
|
||||
Q_PLUGIN_METADATA().
|
||||
|
||||
In the \c .pro file, we need to specify the static library.
|
||||
Here's the project file for building Plug & Paint:
|
||||
|
@ -93,9 +93,9 @@
|
||||
\macro Q_IMPORT_PLUGIN(PluginName)
|
||||
\relates <QtPlugin>
|
||||
|
||||
This macro imports the plugin named \a PluginName, corresponding
|
||||
to the \l{qmake Variable Reference#TARGET}{TARGET} specified in the
|
||||
plugin's project file.
|
||||
This macro imports the plugin named \a PluginName, which corresponds
|
||||
with the name of the class that declares metadata for the plugin with
|
||||
Q_PLUGIN_METADATA().
|
||||
|
||||
Inserting this macro into your application's source code will allow
|
||||
you to make use of a static plugin.
|
||||
|
Loading…
Reference in New Issue
Block a user