From b340e40f9185d2f4ec59ce3313447419580fe6ee Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Thu, 18 Oct 2012 22:42:15 +0800 Subject: qmake ExtraCompilerTargets: deal with file name which contains space Task-number: QTBUG-27629 Change-Id: I6d6c3345cc1bb0a866524df3a1534ed50fc00f3e Reviewed-by: Oswald Buddenhagen --- qmake/generators/makefile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 49f626b2d9..9b32f0e8fd 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -2028,7 +2028,7 @@ MakefileGenerator::writeExtraCompilerTargets(QTextStream &t) QString in = Option::fixPathToTargetOS(inpf, false); QStringList deps = findDependencies(inpf); deps += escapeDependencyPath(in); - QString out = replaceExtraCompilerVariables(tmp_out, inpf, QString()); + QString out = unescapeFilePath(replaceExtraCompilerVariables(tmp_out, inpf, QString())); if(!tmp_dep.isEmpty()) { QStringList pre_deps = fileFixify(tmp_dep, Option::output_dir, Option::output_dir); for(int i = 0; i < pre_deps.size(); ++i) -- cgit v1.2.3