summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/widgets/doc/src/plugandpaint.qdoc6
-rw-r--r--src/corelib/plugin/qplugin.qdoc6
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/widgets/doc/src/plugandpaint.qdoc b/examples/widgets/doc/src/plugandpaint.qdoc
index cf83ea3507..b139de9fa1 100644
--- a/examples/widgets/doc/src/plugandpaint.qdoc
+++ b/examples/widgets/doc/src/plugandpaint.qdoc
@@ -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:
diff --git a/src/corelib/plugin/qplugin.qdoc b/src/corelib/plugin/qplugin.qdoc
index 00ecb30430..1b394c4174 100644
--- a/src/corelib/plugin/qplugin.qdoc
+++ b/src/corelib/plugin/qplugin.qdoc
@@ -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.