From a34bcd3624ca75205e0b9cdbbf9f050293c6e3a5 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Sat, 14 Jun 2014 16:03:34 +0100 Subject: [PATCH] refs #246 workaround incorrect setting of Q_COMPILER_INITIALIZER_LISTS when compiling with MSVC2013 CTP_Nov2013 (QTBUG-39142) --- build.pri | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.pri b/build.pri index b48aad118..b56c2dcd4 100644 --- a/build.pri +++ b/build.pri @@ -6,6 +6,14 @@ CONFIG += qt CONFIG += warn_on CONFIG += c++11 +# workaround QTBUG-39142 +win32-msvc2013 { + PLATFORM_TOOLSET = $$(PlatformToolset) + equals(PLATFORM_TOOLSET,CTP_Nov2013) { + DEFINES += Q_COMPILER_INITIALIZER_LISTS + } +} + ########################### # Debug/Release ###########################