aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-20 14:23:17 +0200
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-06-20 14:18:29 +0000
commit646ae60164d61d85d5773309fe956dde7d4b2909 (patch)
tree306f558d629edc5f1ebef676860c77fc13eb3625 /doc
parent532e8ea991cf0dede72d3f357619f49f4b36187b (diff)
Add new cpp property "systemRunPaths".
The concrete use case is to prevent such paths from getting into the list of rpaths, which can mess with the look-up of libraries in the case where we linked against a different version than the one provided by the system. [ChangeLog] Introduced property cpp.systemRunPaths. Task-number: QBS-921 Change-Id: I67a17bbebca22bfadf0932ecc6cc0cfcffea310a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/modules/cpp-module.qdoc10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/reference/modules/cpp-module.qdoc b/doc/reference/modules/cpp-module.qdoc
index 5042e92f2..d8d8425bc 100644
--- a/doc/reference/modules/cpp-module.qdoc
+++ b/doc/reference/modules/cpp-module.qdoc
@@ -108,6 +108,13 @@
For header files in those paths warnings will be ignored.
Relative paths are considered to be relative to the .qbs product file they are used in.
\row
+ \li systemRunPaths
+ \li \c{stringList}
+ \li 1.6
+ \li Auto-detected for host builds on Linux via \c ldconfig, \c{["/lib", "/usr/lib"]}
+ otherwise on Unix, empty on Windows
+ \li The paths the dynamic linker uses on process start-up to locate dynamic libraries.
+ \row
\li libraryPaths
\li \c{pathList}
\li 1.0
@@ -531,7 +538,8 @@
\li \c{stringList}
\li 1.0
\li \c{undefined}
- \li List of rpaths that are passed to the linker.
+ \li List of rpaths that are passed to the linker. Paths that also appear in
+ \c systemRunPaths are ignored.
\row
\li sonamePrefix
\li \c{string}