summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2010-09-21 14:51:15 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2010-09-21 14:52:24 (GMT)
commit36fc9e830b828b69c4df775c68c07c25c9bab4cf (patch)
treea4cefdd99ce97573bffcebec01df3bb24790ce8c /mkspecs
parentbfeb62c5bb6aa6119555ca8d489250ad3cf5c15f (diff)
downloadQt-36fc9e830b828b69c4df775c68c07c25c9bab4cf.zip
Qt-36fc9e830b828b69c4df775c68c07c25c9bab4cf.tar.gz
Qt-36fc9e830b828b69c4df775c68c07c25c9bab4cf.tar.bz2
qmake: fix quoting of moc calls
Task-number: QTBUG-13782 Reviewed-by: ossi
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/moc.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/moc.prf b/mkspecs/features/moc.prf
index abda78f..15e7fd9 100644
--- a/mkspecs/features/moc.prf
+++ b/mkspecs/features/moc.prf
@@ -45,10 +45,10 @@ defineReplace(mocCmd) {
if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) {
RET += $$mocinclude.commands
}
- RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$1 -o $$2
+ RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D) \"$$1\" -o $$2
return($$RET)
}
- return($$QMAKE_MOC $(DEFINES) $(INCPATH) $$join(QMAKE_COMPILER_DEFINES, " -D", -D) $$1 -o $$2)
+ return($$QMAKE_MOC $(DEFINES) $(INCPATH) $$join(QMAKE_COMPILER_DEFINES, " -D", -D) \"$$1\" -o $$2)
}
#moc headers