Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[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?
Did you add:
@CONFIG += c++11@
to your pro file ?
Yes c++11 was added.
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
Do you know when this issue will be solved?
hskoglund last edited by
Hi, you can solve it yourself, just apply Update 3 to your Visual Studio 2013.