diff options
Diffstat (limited to 'src/corelib')
-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} */ |