qmake.pro: Add explicit C++11 flags

This commit is contained in:
Jonas Kulla 2019-05-18 16:17:09 +02:00
parent 9dcfb66e86
commit d6b477b887
1 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,10 @@ INCLUDEPATH += . src
CONFIG(release, debug|release): DEFINES += NDEBUG CONFIG(release, debug|release): DEFINES += NDEBUG
CONFIG += c++11
# And for older qmake versions..
QMAKE_CXXFLAGS += -std=c++11
isEmpty(BINDING) { isEmpty(BINDING) {
BINDING = MRI BINDING = MRI
} }