Document that the object of a plugin must be default-constructible.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 26 Jun 2012 14:11:06 +0000 (16:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 27 Jun 2012 12:43:00 +0000 (14:43 +0200)
Change-Id: Iaaf56ec3bb0d2423c8ab5deb0627dc1357cee830
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
dist/changes-5.0.0
src/corelib/plugin/qplugin.qdoc

index 76cdd0a..b9fc030 100644 (file)
@@ -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                             *
index f671a5f..940813f 100644 (file)
@@ -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}
 */