Use c++11 config instead of hard coding flags

Tell qtmake to use c++11 and let it handle the configuration changes.
This commit is contained in:
David Christenson 2015-02-01 13:26:00 -07:00
parent 1506999968
commit 3f22bf1186

View File

@ -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