mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
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:
parent
bfd57121b8
commit
a058d31a7c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue