Suppress deprecation warnings - will be fixed with Qwt 6.2

This commit is contained in:
Ale Martinez
2020-06-11 15:10:41 -03:00
parent e1f9005cf5
commit 7274268f47

View File

@@ -14,9 +14,11 @@
CONFIG += qt
CONFIG += warn_on
CONFIG += no_keywords
#CONFIG += silent
CONFIG += silent
CONFIG += static
DEFINES += QT_NO_DEPRECATED_WARNINGS # not fixing those before Qwt 6.2
######################################################################
# release/debug mode
######################################################################
@@ -53,6 +55,9 @@ linux-g++ | linux-g++-64 {
#QMAKE_CXXFLAGS *= -Werror=format-security
#QMAKE_CXXFLAGS *= -std=c++11
# avoid warnings since gcc9
# QMAKE_CXXFLAGS *= -Wno-deprecated-copy
# when using the gold linker ( Qt < 4.8 ) - might be
# necessary on non linux systems too
#QMAKE_LFLAGS += -lrt