diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2018-10-08 18:17:26 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-10-12 18:06:49 +0000 |
commit | 473d9a5fc763d114fbfa1c0d2b5f8d03cab6e972 (patch) | |
tree | 64dc4744d8260ec3edcd05a7d151b318ce690749 /qmake/doc | |
parent | 342b13944c8b4210ab44760dad9ab289e2a89499 (diff) |
qmake: fix the precedence of QMAKE_LIBDIR_POSTv5.12.0-beta2
it must end up in front of QMAKE_LIBS{,_PRIVATE}, but not of
LIBS{,_PRIVATE} (which are preceded by QMAKE_LIBDIR).
Task-number: QTBUG-61982
Started-by: Liang Qi <liang.qi@qt.io>
Change-Id: Id3de01ee0e9b66af02f79949aeb5a0eabd55363f
Reviewed-by: Liang Qi <liang.qi@qt.io>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'qmake/doc')
-rw-r--r-- | qmake/doc/src/qmake-manual.qdoc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc index d4b2f2a07b..7fd9dd9623 100644 --- a/qmake/doc/src/qmake-manual.qdoc +++ b/qmake/doc/src/qmake-manual.qdoc @@ -2061,7 +2061,19 @@ \section1 QMAKE_LIBDIR - Specifies a list of system library paths. + Specifies a list of library search paths for all projects. + The value of this variable is typically handled by qmake + or \l{#QMAKESPEC}{qmake.conf} and rarely needs to be modified. + + To specify additional search paths in project files, + use \l LIBS like that, instead: + \badcode + LIBS += -L/path/to/libraries + \endcode + + \section1 QMAKE_LIBDIR_POST + + Specifies a list of system library search paths for all projects. The value of this variable is typically handled by qmake or \l{#QMAKESPEC}{qmake.conf} and rarely needs to be modified. |