aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJochen Ulrich <jochenulrich@t-online.de>2020-04-23 21:18:13 +0200
committerJochen Ulrich <jochenulrich@t-online.de>2020-05-11 22:42:52 +0000
commit1f6193ab2420fede0150a12b6ea3f52a58da3326 (patch)
treef8c605c89a9412805a65bd008f36cf70db80b6d3
parente45f1c6b3cc24679ea40c4868f71876246afe130 (diff)
Add documentation for the SubProject.condition property
Change-Id: I608360c97e02f6d33527c910562eeb33b1a40a1d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--doc/reference/items/language/subproject.qdoc14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/reference/items/language/subproject.qdoc b/doc/reference/items/language/subproject.qdoc
index 91c879b55..955e4cd4f 100644
--- a/doc/reference/items/language/subproject.qdoc
+++ b/doc/reference/items/language/subproject.qdoc
@@ -94,6 +94,20 @@
*/
/*!
+ \qmlproperty bool SubProject::condition
+
+ Whether the sub-project is added. If \c false, the sub-project is not
+ included.
+
+ Setting this property has the same effect as setting the \c{condition}
+ property within a \l{Properties} item. If both this property and the
+ \c{condition} property within a \l{Properties} item are defined, the
+ sub-project is included only if both properties evaluate to \c{true}.
+
+ \defaultvalue \c true
+*/
+
+/*!
\qmlproperty path SubProject::filePath
The file path of the project to add as a sub-project. If the top-level item