aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-03-07 14:11:10 +0100
committerIvan Komissarov <ABBAPOH@gmail.com>2020-03-11 12:57:22 +0000
commitca00d222003c2cfb216a8ecd16f21462d33b324e (patch)
tree3175db0e46a9d9f51da04714dc9682f58df22898 /doc
parentadd8aab4bdcd07c7b08a13b1be1984ba807bdf50 (diff)
Add qbs.hostArchitecture property
This property can be useful when some parts of the project (e.g. helper tools) should be compiled for the host platform/architecture disregarding what targetPlatform/architecture the rest of the project is being built for Change-Id: I8c76ef65470130df59826603157083fd20809592 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/modules/qbs-module.qdoc13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/reference/modules/qbs-module.qdoc b/doc/reference/modules/qbs-module.qdoc
index e24eef676..683caa0ce 100644
--- a/doc/reference/modules/qbs-module.qdoc
+++ b/doc/reference/modules/qbs-module.qdoc
@@ -473,6 +473,15 @@
*/
/*!
+ \qmlproperty string qbs::hostArchitecture
+ \since Qbs 1.16
+
+ Contains the host OS architecture.
+
+ \defaultvalue Determined automatically.
+*/
+
+/*!
\qmlproperty stringList qbs::hostOS
This property is set by \QBS internally and specifies the OS \QBS is running
@@ -559,7 +568,9 @@
\qmlproperty string qbs::hostPlatform
\since Qbs 1.11
- Do not use this property.
+ Contains the host OS platform.
+
+ \sa {qbs::hostArchitecture}{hostArchitecture}
\defaultvalue Determined automatically.
*/