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