From 38cb37f0516ba03b062f4256bc3349c84a9da869 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 (cherry picked from qtbase/b340e40f9185d2f4ec59ce3313447419580fe6ee) Reviewed-by: Joerg Bornemann --- qmake/generators/makefile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qmake') diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 021a9f5d03..0ef9254f71 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -1988,7 +1988,7 @@ MakefileGenerator::writeExtraCompilerTargets(QTextStream &t) QString in = Option::fixPathToTargetOS((*input), false); QStringList deps = findDependencies((*input)); deps += escapeDependencyPath(in); - QString out = replaceExtraCompilerVariables(tmp_out, (*input), QString()); + QString out = unescapeFilePath(replaceExtraCompilerVariables(tmp_out, (*input), 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