From 679def06d8cddbf4869ddc400546c4f5b2fbc61f Mon Sep 17 00:00:00 2001 From: Giotis Nikos Date: Tue, 7 Feb 2012 01:32:44 +0200 Subject: Fix qmake evaluation of QMAKE_TARGET.arch on msvc2010 x86_64 This change is needed because msvc2010 tools have a '\' character at the end of environment variable VCINSTALLDIR. This variable on msvc2008 does not have this '\' character at its end. Without this change QMAKE_TARGET.arch on msvc2010 x64 evaluates to x86 instead of x86_64. cherry picked from qtbase 66f56024ccfc39f818e0f16b44d4916b6a03d322 Task-number: QTBUG-22686 Change-Id: Ibc7546c522506b2c4e7a729a8de319aea788b662 Reviewed-by: Oswald Buddenhagen --- qmake/project.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/qmake/project.cpp b/qmake/project.cpp index 732db53..a27b2f1 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -3147,8 +3147,14 @@ QStringList &QMakeProject::values(const QString &_var, QMap