for old linux compilers we need to explicitely activate C++11 features

This commit is contained in:
Volker Fischer 2019-05-18 08:51:11 +02:00
parent 2f94057e44
commit cab9086b7a
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ win32 {
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
OTHER_FILES += android/AndroidManifest.xml
} else:unix {
# we want to compile with C++11
QMAKE_CXXFLAGS += -std=c++0x
# we assume that stdint.h is always present in a Linux system
DEFINES += HAVE_STDINT_H