Enable C++14 for Qt Studio on OS X

Seems like there's a glitch where the standard libraries aren't included when using the c++14 config flag. This gets fixed by adding the following line to the .pro file```
QMAKE_CXXFLAGS += -stdlib=libc++
```
This commit is contained in:
Marvin 2017-02-13 02:01:32 +01:00 committed by GitHub
parent bfd57121b8
commit a058d31a7c

View file

@ -9,6 +9,8 @@ CONFIG += communi
COMMUNI += core model util COMMUNI += core model util
CONFIG += c++14 CONFIG += c++14
QMAKE_CXXFLAGS += -stdlib=libc++
include(lib/libcommuni/src/src.pri) include(lib/libcommuni/src/src.pri)
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets greaterThan(QT_MAJOR_VERSION, 4): QT += widgets