diff options
author | Peter Kümmel <syntheticpp@gmx.net> | 2012-08-26 20:37:28 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-26 22:12:03 +0200 |
commit | 2ef52ca12416baa96feb64e02186aae04f883a12 (patch) | |
tree | 82dc4f255d717c3a8f26f609fa6993ee74d6d8b3 | |
parent | 3de60970e58aa7c455e356c277667614804475ce (diff) |
Update Q_PLUGIN_METADATA docu.
Change-Id: I7e451a15de392552609ef549118600684429e0ea
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
-rw-r--r-- | src/corelib/plugin/qplugin.qdoc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/corelib/plugin/qplugin.qdoc b/src/corelib/plugin/qplugin.qdoc index 940813f8b6..684ecd569b 100644 --- a/src/corelib/plugin/qplugin.qdoc +++ b/src/corelib/plugin/qplugin.qdoc @@ -77,7 +77,12 @@ See the \l{tools/plugandpaint}{Plug & Paint} example for details. - Note that the class this macro appears on must be default-constructible + Note that the class this macro appears on must be default-constructible. + + FILE is optional and points to a json file. + + The json file must reside in the same directory as the header file. + moc exits with an error when it could not find the specified file. \sa Q_DECLARE_INTERFACE(), {How to Create Qt Plugins} */ |