From 48ae19818c241c837b144f14987c169a5271e67b Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 24 Jul 2014 11:20:33 +0200 Subject: Doc: document restriction for Product.name values Change-Id: I3134c4ba1c781260d2d14501eb8579e6ec628e02 Reviewed-by: Christian Kandeler Reviewed-by: Leena Miettinen --- doc/reference/items/product.qdoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/reference/items/product.qdoc b/doc/reference/items/product.qdoc index b27f76c3d..acf0b0a60 100644 --- a/doc/reference/items/product.qdoc +++ b/doc/reference/items/product.qdoc @@ -83,7 +83,19 @@ \li name \li string \li empty string - \li The name of the product. Used to identify the product in a \c Depends item, for example. + \li The name of the product. Used to identify the product in a \c Depends item, for + example. The value of this property must be a simple JavaScript expression that + does not depend on module properties or values that are non-local to this product. + \code + CppApplication { + name: "hello" + "world" // valid + } + CppApplication { + name: "app_for_" + qbs.targetOS.join("_") // invalid + } + \endcode + To change the name of your product's target artifact, modify \c{Product.targetName} + instead. \row \li profiles \li stringList -- cgit v1.2.3