summaryrefslogtreecommitdiffstats
path: root/qmake/doc/src
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-03-25 14:59:51 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-03-26 13:51:44 +0100
commitfc49325c806d03b609e0e0206086edadc7f2782e (patch)
tree858aad63cb262fca8c833192baa597bb3025f4ee /qmake/doc/src
parent85a1582412ada0a8837fef76a23d569e95fa8d7f (diff)
qmake: Document QML_FOREIGN_METATYPES
Task-number: QTBUG-82709 Change-Id: I0ca648114adbbed1ab3c6406e9f14f60f7924e96 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'qmake/doc/src')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc8
1 files changed, 8 insertions, 0 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index f1e03eb407..c90092059f 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -2608,6 +2608,14 @@
Specifies the module name to be used for automatically generated QML type
registrations. For more information, see \l {Defining QML Types from C++}.
+ \section1 QML_FOREIGN_METATYPES
+
+ Specifies further JSON files with metatypes to be considered when generating
+ qmltypes files. Use this when external libraries provide types that are
+ exposed to QML, either directly or as base types or properties of other
+ types. Qt types will automatically be considered and don't have to be added
+ here.
+
\section1 QT
Specifies the \l{All Modules}{Qt modules} that are used by your project. For