summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-08-11 14:55:15 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-08-11 14:55:15 (GMT)
commit71fd7e60c43392f2c21598a0c9d28b7aa5204cda (patch)
treef87b381c3660f43cd1dfba50c7e604b620684db6 /doc/src/snippets
parent557b8c58023ad0bdbd79bf25b770dc873a57cad1 (diff)
downloadQt-71fd7e60c43392f2c21598a0c9d28b7aa5204cda.zip
Qt-71fd7e60c43392f2c21598a0c9d28b7aa5204cda.tar.gz
Qt-71fd7e60c43392f2c21598a0c9d28b7aa5204cda.tar.bz2
Doc: Added information about quoting of path strings.
Task-number: None Reviewed-by: Andy Shaw Review-was: Tentative
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/qmake/spaces.pro8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/snippets/qmake/spaces.pro b/doc/src/snippets/qmake/spaces.pro
index c78e984..544ef05 100644
--- a/doc/src/snippets/qmake/spaces.pro
+++ b/doc/src/snippets/qmake/spaces.pro
@@ -1,9 +1,9 @@
#! [quoting library paths with spaces]
-win32:LIBS += "C:/mylibs/extra libs/extra.lib"
-unix:LIBS += -L"/home/user/extra libs" -lextra
+win32:LIBS += $$quote(C:/mylibs/extra libs/extra.lib)
+unix:LIBS += $$quote(-L/home/user/extra libs) -lextra
#! [quoting library paths with spaces]
#! [quoting include paths with spaces]
-win32:INCLUDEPATH += "C:/mylibs/extra headers"
-unix:INCLUDEPATH += "/home/user/extra headers"
+win32:INCLUDEPATH += $$quote(C:/mylibs/extra headers)
+unix:INCLUDEPATH += $$quote(/home/user/extra headers)
#! [quoting include paths with spaces]