Merge PR #419: Disable deprecation errors to allow building with gcc 10/Qt 5.15

This commit is contained in:
Jenkins nymea 2021-05-21 15:13:48 +02:00
commit fa7e03f541
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ CONFIG += plugin link_pkgconfig
PKGCONFIG += nymea
QMAKE_CXXFLAGS *= -Werror -std=c++11 -g
QMAKE_CXXFLAGS *= -Werror -std=c++11 -g -Wno-deprecated-declarations
QMAKE_LFLAGS *= -std=c++11 -z defs
JSONFILE=$${_PRO_FILE_PWD_}/integrationplugin"$$TARGET".json

View File

@ -3,7 +3,7 @@ COPYRIGHT_YEAR_TO=2021
DEFINES += COPYRIGHT_YEAR_STRING=\\\"$${COPYRIGHT_YEAR_FROM}-$${COPYRIGHT_YEAR_TO}\\\"
QMAKE_CXXFLAGS *= -Werror -std=c++11 -g
QMAKE_CXXFLAGS *= -Werror -std=c++11 -g -Wno-deprecated-declarations
QMAKE_LFLAGS *= -std=c++11
top_srcdir=$$PWD