From 3f22bf1186b9da64e3d7a1d951b578293866098b Mon Sep 17 00:00:00 2001 From: David Christenson Date: Sun, 1 Feb 2015 13:26:00 -0700 Subject: [PATCH] Use c++11 config instead of hard coding flags Tell qtmake to use c++11 and let it handle the configuration changes. --- macxconf.pri | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/macxconf.pri b/macxconf.pri index 3f7bc6cae..653a9ec43 100644 --- a/macxconf.pri +++ b/macxconf.pri @@ -10,8 +10,7 @@ exists($$OUT_PWD/../conf.pri) { } LIBS += -framework Carbon -framework IOKit -QMAKE_CXXFLAGS += -stdlib=libc++ -QMAKE_LFLAGS += -stdlib=libc++ +CONFIG += c++11 document_icon.path = Contents/Resources document_icon.files = mac/qBitTorrentDocument.icns