From 4f7c97dc4ad58c1bc28566e3f2417b9dfbad7a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Mon, 12 Jan 2026 15:06:10 +0100 Subject: [PATCH] Mute unknown clang warnings for -Werror --- shared.pri | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/shared.pri b/shared.pri index 75396d09..56cf259e 100644 --- a/shared.pri +++ b/shared.pri @@ -20,6 +20,15 @@ win32-msvc { QMAKE_CXXFLAGS += -Wno-deprecated-copy } +# This warning group is not available on older clang version. +# When building with Qt >= 6.10.x -Wno-unknown-warning-option +# this seems not to work with the available clang versions (Android/Windows). +# Disable this warning group until this is fixed with the shiped clang version: +# https://github.com/llvm/llvm-project/issues/163719 +contains(QMAKE_COMPILER, clang) { + QMAKE_CXXFLAGS += -Wno-unknown-warning-option +} + QMAKE_CXXFLAGS += -g top_srcdir=$$PWD