From 6b807a283cace845c235c24543a071e41cee0dac 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. Task-number: QTBUG-22686 Change-Id: Ifba833e9361c97568b8b3de9976023e8537b208a Reviewed-by: Oswald Buddenhagen Reviewed-by: Joerg Bornemann --- qmake/project.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'qmake') diff --git a/qmake/project.cpp b/qmake/project.cpp index d898483a47..fbeb033b86 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -3165,8 +3165,14 @@ QStringList &QMakeProject::values(const QString &_var, QHash