summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qmake
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-08-10 17:37:30 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-08-10 17:37:30 (GMT)
commit557b8c58023ad0bdbd79bf25b770dc873a57cad1 (patch)
tree8cef460eb69c961401b53cc68f322913dba93dfc /doc/src/snippets/qmake
parent0ef0b1acb84d216bddd31424849aba82d4ef51f9 (diff)
downloadQt-557b8c58023ad0bdbd79bf25b770dc873a57cad1.zip
Qt-557b8c58023ad0bdbd79bf25b770dc873a57cad1.tar.gz
Qt-557b8c58023ad0bdbd79bf25b770dc873a57cad1.tar.bz2
Doc: Documented the use of spaces in qmake variables.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/snippets/qmake')
-rw-r--r--doc/src/snippets/qmake/spaces.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/snippets/qmake/spaces.pro b/doc/src/snippets/qmake/spaces.pro
new file mode 100644
index 0000000..c78e984
--- /dev/null
+++ b/doc/src/snippets/qmake/spaces.pro
@@ -0,0 +1,9 @@
+#! [quoting library paths with spaces]
+win32:LIBS += "C:/mylibs/extra libs/extra.lib"
+unix:LIBS += -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"
+#! [quoting include paths with spaces]