diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2015-10-27 15:28:38 +0100 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2015-11-13 20:33:44 +0000 |
commit | 037b05ac760a50630a009362011c12bcce11644d (patch) | |
tree | 79a52ced23b6b9d68a95e26ee580b0dbb57e921e | |
parent | a31b4e93cb1bf5b13d0ae27105b304157951de86 (diff) |
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>
-rw-r--r-- | examples/widgets/doc/src/plugandpaint.qdoc | 6 | ||||
-rw-r--r-- | src/corelib/plugin/qplugin.qdoc | 6 |
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. |