From fc49325c806d03b609e0e0206086edadc7f2782e Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 25 Mar 2020 14:59:51 +0100 Subject: [PATCH] qmake: Document QML_FOREIGN_METATYPES Task-number: QTBUG-82709 Change-Id: I0ca648114adbbed1ab3c6406e9f14f60f7924e96 Reviewed-by: Fabian Kosmale --- qmake/doc/src/qmake-manual.qdoc | 8 ++++++++ 1 file changed, 8 insertions(+) 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