Enable c++ 11 on Linux.

This commit is contained in:
leo 2014-12-31 01:25:43 +00:00
parent 03303cd06e
commit 8cf9ece4b4

View file

@ -19,7 +19,8 @@ win32 {
LIBS += -ladvapi32 -lshell32
} else {
LIBS += -lz
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
QMAKE_CXXFLAGS += -std=c++0x
}
isEmpty(QMAKE_LRELEASE) {
@ -243,4 +244,4 @@ RESOURCES += leocad.qrc
!win32 {
TRANSLATIONS = TSFILES
}
}