summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-06-26 16:11:06 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-27 14:43:00 +0200
commit1b6c83f7a3668e39df9d5e468fa693b0aa0c8b0e (patch)
treec672806488f9cf4841ab6377609e783f7552588c
parentc4a05f5e3aa1af35ed73c5a2883fce9723d06132 (diff)
Document that the object of a plugin must be default-constructible.
Change-Id: Iaaf56ec3bb0d2423c8ab5deb0627dc1357cee830 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r--dist/changes-5.0.03
-rw-r--r--src/corelib/plugin/qplugin.qdoc2
2 files changed, 5 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 76cdd0abcb..b9fc03066e 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -649,6 +649,9 @@ Qt for Windows CE
* Plugins *
****************************************************************************
- The text codecs that were previously plugins are now built into QtCore.
+- Code using Q_EXPORT_PLUGIN macros will no longer compile. Use
+ Q_PLUGIN_METADATA instead. Note that this requires that the class
+ be default-constructible.
****************************************************************************
* Important Behavior Changes *
diff --git a/src/corelib/plugin/qplugin.qdoc b/src/corelib/plugin/qplugin.qdoc
index f671a5f1a4..940813f8b6 100644
--- a/src/corelib/plugin/qplugin.qdoc
+++ b/src/corelib/plugin/qplugin.qdoc
@@ -77,6 +77,8 @@
See the \l{tools/plugandpaint}{Plug & Paint} example for details.
+ Note that the class this macro appears on must be default-constructible
+
\sa Q_DECLARE_INTERFACE(), {How to Create Qt Plugins}
*/