diff --git a/common.pri b/common.pri index df59784cac..67aec29f3b 100644 --- a/common.pri +++ b/common.pri @@ -16,6 +16,11 @@ INCLUDEPATH *= $$ROOT_DIR/3party/boost CONFIG -= depend_includepath CONFIG *= c++11 +# For old android gcc 4.6 +!android* { + QMAKE_CFLAGS *= -Wno-deprecated-register + QMAKE_CXXFLAGS *= -Wno-deprecated-register +} # Automatically enable release config for production CONFIG(production) {