for old linux compilers we need to explicitely activate C++11 features
This commit is contained in:
parent
2f94057e44
commit
cab9086b7a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue