summaryrefslogtreecommitdiffstats
path: root/mkspecs/winrt-x86-msvc2015
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-12-15 16:20:27 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-12-23 13:44:50 +0000
commit1b5271f27f7d5c6f814567d6d3bf211b41244cc8 (patch)
tree434e93465f8fd362b22c947e10b748171a001df2 /mkspecs/winrt-x86-msvc2015
parentd0db09681fc12082d717f3af88175775e0fa18fb (diff)
determine compiler version at build time, not in configure
this makes it consistent with the determination of the default include/library paths. this makes sense, as it's possible to switch the sdk/toolchain after building qt (within reason). a side effect of this change is that for compilers which emulate other compilers, both the real and the emulated version are now made available. Change-Id: Icfcc672c0d2e3d1b5e622993c366063d70ad327c Started-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs/winrt-x86-msvc2015')
-rw-r--r--mkspecs/winrt-x86-msvc2015/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/winrt-x86-msvc2015/qmake.conf b/mkspecs/winrt-x86-msvc2015/qmake.conf
index 3b2681e93d..00d9126790 100644
--- a/mkspecs/winrt-x86-msvc2015/qmake.conf
+++ b/mkspecs/winrt-x86-msvc2015/qmake.conf
@@ -6,7 +6,7 @@
MSC_VER = 1900
include(../common/winrt_winphone/qmake.conf)
-QMAKE_COMPILER_DEFINES += _MSC_VER=1900 _WIN32
+QMAKE_COMPILER_DEFINES += _WIN32
DEFINES += WINAPI_FAMILY=WINAPI_FAMILY_PC_APP WINAPI_PARTITION_PHONE_APP=1 X86 __X86__ __x86__
QMAKE_CFLAGS += -FS