diff options
author | Debao Zhang <hello@debao.me> | 2012-10-18 22:42:15 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-19 13:02:17 +0200 |
commit | b340e40f9185d2f4ec59ce3313447419580fe6ee (patch) | |
tree | 36c6bed3db84f153325d201beb9ae5b254b30329 /qmake | |
parent | bdc0eaae6b47eebbf99bea1034857287fb75aa46 (diff) |
qmake ExtraCompilerTargets: deal with file name which contains space
Task-number: QTBUG-27629
Change-Id: I6d6c3345cc1bb0a866524df3a1534ed50fc00f3e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'qmake')
-rw-r--r-- | qmake/generators/makefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |