diff options
author | Eike Ziller <eike.ziller@digia.com> | 2014-08-26 15:42:40 +0200 |
---|---|---|
committer | hjk <hjk121@nokiamail.com> | 2014-08-27 08:44:34 +0200 |
commit | aa6495a261bf6a958ba5bbe4fb7b334f62748156 (patch) | |
tree | 3cd601390ca122383a245148829e02e43cd56649 /doc/api | |
parent | 38d69ae4efc0e225b79afdf78046d4ea5ce3d205 (diff) | |
download | qt-creator-aa6495a261bf6a958ba5bbe4fb7b334f62748156.tar.gz |
ExtensionSystem: Remove Qt4 support
Remove usage of the Q_EXPORT_PLUGIN macros, which do not exist in Qt 5.
Change-Id: I678c3cf10b9c5d5c1b9f252b0ecd1c97dc810a47
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/examples/exampleplugin/exampleplugin.cpp | 4 | ||||
-rw-r--r-- | doc/api/first-plugin.qdoc | 7 |
2 files changed, 0 insertions, 11 deletions
diff --git a/doc/api/examples/exampleplugin/exampleplugin.cpp b/doc/api/examples/exampleplugin/exampleplugin.cpp index 4223cb3321..66ff782fc2 100644 --- a/doc/api/examples/exampleplugin/exampleplugin.cpp +++ b/doc/api/examples/exampleplugin/exampleplugin.cpp @@ -80,7 +80,3 @@ void ExamplePlugin::triggerAction() tr("This is an action from Example.")); } //! [slot implementation] - -//! [export plugin] -Q_EXPORT_PLUGIN2(Example, ExamplePlugin) -//! [export plugin] diff --git a/doc/api/first-plugin.qdoc b/doc/api/first-plugin.qdoc index 7f78439a76..665b26b2f7 100644 --- a/doc/api/first-plugin.qdoc +++ b/doc/api/first-plugin.qdoc @@ -321,11 +321,4 @@ This part defines the code that is called when the menu item is triggered. It uses the Qt API to open a message box that displays informative text and an \gui OK button. - - \snippet exampleplugin/exampleplugin.cpp export plugin - - At the end of the file, the Qt macro \c{Q_EXPORT_PLUGIN2} is used to register - the plugin with Qt's plugin loader system. This is necessary for Qt to - be able to load your plugin. - */ |