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

View file

@ -103,6 +103,9 @@ win32 {
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
OTHER_FILES += android/AndroidManifest.xml OTHER_FILES += android/AndroidManifest.xml
} else:unix { } 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 # we assume that stdint.h is always present in a Linux system
DEFINES += HAVE_STDINT_H DEFINES += HAVE_STDINT_H