aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-07-24 11:20:33 +0200
committerJoerg Bornemann <joerg.bornemann@digia.com>2014-07-24 14:18:05 +0200
commit48ae19818c241c837b144f14987c169a5271e67b (patch)
tree904fee2a567f2ac4a2c1060b033e002334be78ec
parent9e040c1765a5e65de87da6817305c47cba6a3555 (diff)
Doc: document restriction for Product.name values
Change-Id: I3134c4ba1c781260d2d14501eb8579e6ec628e02 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
-rw-r--r--doc/reference/items/product.qdoc14
1 files changed, 13 insertions, 1 deletions
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