diff --git a/mkspecs/features/warnings.pri b/mkspecs/features/warnings.pri index ceaee60ef..b4faaf031 100644 --- a/mkspecs/features/warnings.pri +++ b/mkspecs/features/warnings.pri @@ -41,11 +41,11 @@ gcc { # clazy - Qt-aware linter equals(QMAKE_CXX, clazy)|equals(QMAKE_CXX, clazy-cl) { CLAZY_WARNINGS *= level3 no-reserve-candidates + CLAZY_WARNINGS *= isempty-vs-count raw-environment-function tr-non-literal # TODO: gradually fix issues so we can re-enable some of these warnings - CLAZY_WARNINGS *= no-inefficient-qlist-soft no-qstring-allocations - CLAZY_WARNINGS *= no-missing-qobject-macro no-ctor-missing-parent-argument - CLAZY_WARNINGS *= no-copyable-polymorphic no-function-args-by-value + CLAZY_WARNINGS *= no-qstring-allocations no-copyable-polymorphic no-function-args-by-value + CLAZY_WARNINGS *= no-inefficient-qlist-soft no-ctor-missing-parent-argument QMAKE_CXXFLAGS_WARN_ON += -Xclang -plugin-arg-clang-lazy -Xclang $$join(CLAZY_WARNINGS, ",") }