From: Giotis Nikos Date: Mon, 6 Feb 2012 23:32:44 +0000 (+0200) Subject: Fix qmake evaluation of QMAKE_TARGET.arch on msvc2010 x86_64 X-Git-Tag: qt-v5.0.0-alpha1~1252 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b807a283cace845c235c24543a071e41cee0dac;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/qmake/project.cpp b/qmake/project.cpp index d898483..fbeb033 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -3165,8 +3165,14 @@ QStringList &QMakeProject::values(const QString &_var, QHash