path: root/doc
diff options
authorChristian Kandeler <christian.kandeler@qt.io>2018-12-20 15:12:19 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-01-07 13:31:51 +0000
commitd8a5edfb8c5bb0556d33d8eac512be41472585fb (patch)
treeffab1b0caab481bdc30a427d11a382fafba513de /doc
parente5ba24302d9e1d55c544c8616f837af9cfbbf710 (diff)
GCC: Make it possible to force the linker variant
...via cpp.linkerVariant. [ChangeLog] Added new cpp property linkerVariant to force use of gold, bfd or lld. Task-number: QBS-1421 Change-Id: I98f9d2581515ac8e9c984a2f8d70f4a7a3ab230b Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc')
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/reference/modules/cpp-module.qdoc b/doc/reference/modules/cpp-module.qdoc
index 9cf7d6a0f..940e837ae 100644
--- a/doc/reference/modules/cpp-module.qdoc
+++ b/doc/reference/modules/cpp-module.qdoc
@@ -1208,6 +1208,20 @@
+ \qmlproperty string cpp::linkerVariant
+ \since Qbs 1.13
+ \unixproperty
+ Set this property to force the use of a specific \c ld implementation. A non-empty value
+ will result in the \c {-fuse-ld} option being emitted when linking with \c gcc or \c clang.
+ The possible values are \c "bfd", \c "gold" and \c "lld".
+ \nodefaultvalue
\qmlproperty string cpp::nmName
\since Qbs 1.2