From: Oswald Buddenhagen Date: Mon, 23 Apr 2012 10:44:40 +0000 (+0200) Subject: normalize $$QMAKE_QMAKE X-Git-Tag: 071012110112~338^2^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c144b54cfe93463cf4e8ce9ca3b9d550f5d72bc;p=profile%2Fivi%2Fqtbase.git normalize $$QMAKE_QMAKE everything in the projects should be normalized. only the makefile generators need to adjust it to the native form. Change-Id: I06a4e997f32134d13949ec4a9dd1b44367aab7cb Reviewed-by: Joerg Bornemann Reviewed-by: Oswald Buddenhagen --- diff --git a/mkspecs/win32-g++/qmake.conf b/mkspecs/win32-g++/qmake.conf index 5189cb1..2740e6d 100644 --- a/mkspecs/win32-g++/qmake.conf +++ b/mkspecs/win32-g++/qmake.conf @@ -83,7 +83,6 @@ QMAKE_LIBS_QT_ENTRY = -lmingw32 -lqtmain !isEmpty(QMAKE_SH) { MINGW_IN_SHELL = 1 QMAKE_DIR_SEP = / - QMAKE_QMAKE ~= s,\\\\,/, QMAKE_COPY = cp QMAKE_STREAM_EDITOR = sed QMAKE_COPY_DIR = cp -r diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 81835a5..7b29615 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -856,8 +856,8 @@ MakefileGenerator::init() } // escape qmake command - QStringList &qmk = project->values("QMAKE_QMAKE"); - qmk = escapeFilePaths(qmk); + project->values("QMAKE_QMAKE") = + escapeFilePaths(QStringList(Option::fixPathToTargetOS(Option::qmake_abslocation, false))); } bool diff --git a/qmake/project.cpp b/qmake/project.cpp index fb4d439..3a34aef 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -3861,12 +3861,11 @@ QStringList &QMakeProject::values(const QString &_var, QHash