From a058d31a7c5215b0622aa924929b0e6fb73e36e9 Mon Sep 17 00:00:00 2001 From: Marvin Date: Mon, 13 Feb 2017 02:01:32 +0100 Subject: [PATCH] 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++ ``` --- chatterino.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chatterino.pro b/chatterino.pro index 7b582562c..ae540d52f 100644 --- a/chatterino.pro +++ b/chatterino.pro @@ -9,6 +9,8 @@ CONFIG += communi COMMUNI += core model util CONFIG += c++14 +QMAKE_CXXFLAGS += -stdlib=libc++ + include(lib/libcommuni/src/src.pri) greaterThan(QT_MAJOR_VERSION, 4): QT += widgets