diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2014-08-06 00:31:02 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:23:42 +0300 |
commit | a43d4251fd32b88569884ca41d4ba22e3de8b045 (patch) | |
tree | f93e85a40fa718a54b5fe58e5bfef7110b237048 /common.pri | |
parent | 63c2234ba46f95020f158a440dc675c8b6e16c0a (diff) |
Base libraries C++11 sources compatibility
Diffstat (limited to 'common.pri')
-rw-r--r-- | common.pri | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common.pri b/common.pri index 66f534b1cc..9c241f8b36 100644 --- a/common.pri +++ b/common.pri @@ -13,7 +13,14 @@ VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR} INCLUDEPATH *= $$ROOT_DIR/3party/boost # hack for Qt5 qmake to make it faster -CONFIG-=depend_includepath +CONFIG -= depend_includepath + +#CONFIG *= c++11 + +CONFIG(c++11) { + QMAKE_CFLAGS *= -Wno-deprecated-register + QMAKE_CXXFLAGS *= -Wno-deprecated-register +} # Automatically enable release config for production CONFIG(production) { |