diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-09-21 14:51:15 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-09-21 14:52:24 (GMT) |
commit | 36fc9e830b828b69c4df775c68c07c25c9bab4cf (patch) | |
tree | a4cefdd99ce97573bffcebec01df3bb24790ce8c /mkspecs | |
parent | bfeb62c5bb6aa6119555ca8d489250ad3cf5c15f (diff) | |
download | Qt-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.prf | 4 |
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 |