From 7274268f476130673a0ed9eeb38c82da1dfd3606 Mon Sep 17 00:00:00 2001 From: Ale Martinez Date: Thu, 11 Jun 2020 15:10:41 -0300 Subject: [PATCH] Suppress deprecation warnings - will be fixed with Qwt 6.2 --- qwt/qwtbuild.pri | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qwt/qwtbuild.pri b/qwt/qwtbuild.pri index b224301d3..ddbcfc6ea 100644 --- a/qwt/qwtbuild.pri +++ b/qwt/qwtbuild.pri @@ -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