From fdfe3b6d5ff8f177d0902b6ec2ede46fcce8d731 Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Wed, 21 Aug 2013 15:02:06 +0200 Subject: Doc: Update description of qmake LIBS variable Rewrite the note about specifying libraries on Windows to make it clearer and change the library name to match the one in the snippet. Task-number: QTBUG-30229 Change-Id: I55c5579f5ead2fadc5d75baa2172b03f20c9f689 Reviewed-by: Oswald Buddenhagen --- doc/src/development/qmake-manual.qdoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/src/development/qmake-manual.qdoc b/doc/src/development/qmake-manual.qdoc index ce33158a1e..70548aa079 100644 --- a/doc/src/development/qmake-manual.qdoc +++ b/doc/src/development/qmake-manual.qdoc @@ -1826,19 +1826,19 @@ \snippet doc/src/snippets/code/doc_src_qmake-manual.pro 38 + \bold{Note:} On Windows, specifying libraries with the \c{-l} option + will cause the library with the highest version + number to be used. For example, \c{math2.lib} could potentially be used + instead of \c{math.lib}. To avoid this ambiguity, we recommend that you + explicitly specify the library to be used by including the \c{.lib} + file name suffix, as in the example above. + To specify a path containing spaces, quote the path using the technique mentioned in the \l{qmake Project Files#Whitespace}{qmake Project Files} document. \snippet doc/src/snippets/qmake/spaces.pro quoting library paths with spaces - \bold{Note:} On Windows, specifying libraries with the \c{-l} option, - as in the above example, will cause the library with the highest version - number to be used; for example, \c{libmath2.lib} could potentially be used - instead of \c{libmathlib}. To avoid this ambiguity, we recommend that you - explicitly specify the library to be used by including the \c{.lib} - file name suffix. - \bold{Note:} On the Symbian platform, the build system makes a distinction between shared and static libraries. In most cases, qmake will figure out which library you -- cgit v1.2.3