aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/modules/cpp-module.qdoc23
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/reference/modules/cpp-module.qdoc b/doc/reference/modules/cpp-module.qdoc
index 9925c1a57..da4ca6adf 100644
--- a/doc/reference/modules/cpp-module.qdoc
+++ b/doc/reference/modules/cpp-module.qdoc
@@ -1367,11 +1367,24 @@
Set this property to force the use of a specific linker. A non-empty value
will result in the \c {-fuse-ld} option being emitted when linking with \c gcc,
- \c clang or \c clang-cl.
+ \c clang or \c clang-cl. Other toolchains do not support this property.
The possible values for \c clang and \c gcc are \c "bfd", \c "gold" and \c "lld",
the possible values for \c clang-cl are \c "link" and \c "lld".
+ The following example demonstrates how to change the linker for different toolchains:
+
+ \code
+ Properties {
+ condition: qbs.toolchain.contains("gcc")
+ cpp.linkerVariant: "gold"
+ }
+ Properties {
+ condition: qbs.toolchain.contains("clang-cl")
+ cpp.linkerVariant: "lld"
+ }
+ \endcode
+
\nodefaultvalue
*/
@@ -1869,3 +1882,11 @@
\defaultvalue \c{true}
*/
+
+/*!
+ \qmlproperty string cpp::toolchainInstallPath
+
+ Path to the directory where the toolchain executable files are located.
+
+ \nodefaultvalue
+*/