summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2020-03-04 16:23:28 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2020-03-06 09:59:34 +0000
commitce503091a73a0024e6259b37a64fa192b3731581 (patch)
tree3e34230331041915406b64085b3558da08775239 /doc
parent053c8f73ca67b9356f337aaf4ed58d2013cc2a77 (diff)
downloadqbs-ce503091a73a0024e6259b37a64fa192b3731581.tar.gz
Qt support: Add support for moc metatype files
From Qt 5.15 on, moc can generate metatype information in JSON format. Task-number: QBS-1531 Change-Id: Ie6969f70bac51cc80f11057841ba8d4b7947c646 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/modules/qt-core-module.qdoc28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/reference/modules/qt-core-module.qdoc b/doc/reference/modules/qt-core-module.qdoc
index c8c3dc7de..35190c686 100644
--- a/doc/reference/modules/qt-core-module.qdoc
+++ b/doc/reference/modules/qt-core-module.qdoc
@@ -100,6 +100,12 @@
\li Source files with this tag trigger a re-execution of the rule running the \c moc
tool when their timestamp changes.
\row
+ \li \c{"qt.core.metatypes"}
+ \li n/a
+ \li 1.16
+ \li This tag is attached to the JSON files that are potentially created if
+ \l{Qt.core::generateMetaTypesFile}{generateMetaTypesFile} is enabled.
+ \row
\li \c{"qt.core.resource_data"}
\li -
\li 1.7
@@ -196,6 +202,28 @@
*/
/*!
+ \qmlproperty bool Qt.core::generateMetaTypesFile
+
+ If this property is enabled, a JSON file tagged as \c "qt.core.metatypes" will potentially
+ be generated from metatype information collected by \c moc.
+
+ \nodefaultvalue
+ \since Qbs 1.16
+*/
+
+/*!
+ \qmlproperty bool Qt.core::metaTypesInstallDir
+
+ The directory to install the metatypes file into. If this property is empty or undefined,
+ the metatypes file will not be installed. If the
+ \l{Qt.core::generateMetaTypesFile}{generateMetaTypesFile} property is not \c true, then
+ this property has no effect.
+
+ \nodefaultvalue
+ \since Qbs 1.16
+*/
+
+/*!
\qmlproperty path Qt.core::incPath
The base path of the Qt headers.