qt: Add C++14 support

This commit is contained in:
Calcitem Team 2019-08-09 02:55:04 +08:00
parent 8584c5d899
commit 560d0d4bbb
1 changed files with 7 additions and 0 deletions

View File

@ -67,3 +67,10 @@ DISTFILES += \
../Licence.txt
RC_FILE += NineChess.rc
# With C++14 support
greaterThan(QT_MAJOR_VERSION, 4) {
CONFIG += c++14
} else {
QMAKE_CXXFLAGS += -std=c++0x
}