Fix qmake evaluation of QMAKE_TARGET.arch on msvc2010 x86_64
authorGiotis Nikos <giotis.nikos@gmail.com>
Mon, 6 Feb 2012 23:32:44 +0000 (01:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 8 Feb 2012 06:48:43 +0000 (07:48 +0100)
commit6b807a283cace845c235c24543a071e41cee0dac
treef35f2c8877058a6035321ecca4b7d96bdc58a12c
parentb113644acbeda7171b4442fba2aac3e51f9c5b0f
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 <oswald.buddenhagen@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
qmake/project.cpp