From 2ef52ca12416baa96feb64e02186aae04f883a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Sun, 26 Aug 2012 20:37:28 +0200 Subject: Update Q_PLUGIN_METADATA docu. Change-Id: I7e451a15de392552609ef549118600684429e0ea Reviewed-by: Lars Knoll --- src/corelib/plugin/qplugin.qdoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/corelib/plugin') 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} */ -- cgit v1.2.3