summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/moc.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-26 12:05:58 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-05-26 17:40:21 (GMT)
commit724ed689cdec252ffb33b496fceb6ce4f81125dd (patch)
treea2166681a9d901a4f9dcaef75ff1392f9e6ca2d0 /mkspecs/features/moc.prf
parentc22dc63d5333c85afd167944675bfebec6b5c9a3 (diff)
downloadQt-724ed689cdec252ffb33b496fceb6ce4f81125dd.zip
Qt-724ed689cdec252ffb33b496fceb6ce4f81125dd.tar.gz
Qt-724ed689cdec252ffb33b496fceb6ce4f81125dd.tar.bz2
escape backslashes
this makes windows-style path specs *ugly*. that's intentional. :-P
Diffstat (limited to 'mkspecs/features/moc.prf')
-rw-r--r--mkspecs/features/moc.prf6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/features/moc.prf b/mkspecs/features/moc.prf
index e1032fd..abda78f 100644
--- a/mkspecs/features/moc.prf
+++ b/mkspecs/features/moc.prf
@@ -14,13 +14,13 @@ win32:count($$list($$INCLUDEPATH), 40, >) {
WIN_INCLUDETEMP=$$INCLUDETEMP
- EOC = $$escape_expand(\n\t)
+ EOC = $$escape_expand(\\n\\t)
if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) {
# the VCPROJ generator will replace the \r\h with the coded \r\n: &#x0d;&#x0a;
# No other generator understands the \h
- if(win32-msvc2*|wince*msvc*): EOC = $$escape_expand(\r\h)
- else: EOC = $$escape_expand(\\)$$escape_expand(\n\t)
+ if(win32-msvc2*|wince*msvc*): EOC = $$escape_expand(\\r\\h)
+ else: EOC = $$escape_expand(\\\\\\n\\t)
}
unset(INCFILELIST)