Document that the object of a plugin must be default-constructible.

Change-Id: Iaaf56ec3bb0d2423c8ab5deb0627dc1357cee830
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
bb10
Stephen Kelly 2012-06-26 16:11:06 +02:00 committed by Qt by Nokia
parent c4a05f5e3a
commit 1b6c83f7a3
2 changed files with 5 additions and 0 deletions

3
dist/changes-5.0.0 vendored
View 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 *

View 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}
*/