From 1f6193ab2420fede0150a12b6ea3f52a58da3326 Mon Sep 17 00:00:00 2001 From: Jochen Ulrich Date: Thu, 23 Apr 2020 21:18:13 +0200 Subject: Add documentation for the SubProject.condition property Change-Id: I608360c97e02f6d33527c910562eeb33b1a40a1d Reviewed-by: Christian Kandeler --- doc/reference/items/language/subproject.qdoc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 @@ -93,6 +93,20 @@ It is also possible to nest \l{Project} items directly in the same file. */ +/*! + \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 -- cgit v1.2.3