[solved]Why is C++ Initializer lists disbale in Qt 5 for MSVC2013?
-
MSVC2013 supports C++ Initializer lists. Why is C++ Initializer lists disbale in Qt 5 for MSVC2013?
-
Hi,
Did you add:
@CONFIG += c++11@
to your pro file ?
-
Yes c++11 was added.
-
Hi,
This issue is described at this "bug report":https://bugreports.qt-project.org/browse/QTBUG-39142
To enable initializer lists, add this line to your .pro file:
@
DEFINES += Q_COMPILER_INITIALIZER_LISTS
@ -
Thanks!
Do you know when this issue will be solved?
-
Hi, you can solve it yourself, just apply Update 3 to your Visual Studio 2013.