From aa2a0812e6692a29a161b6790a520ba8076347f8 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Wed, 28 Jan 2026 12:40:11 +0000 Subject: [PATCH] apps: qcam: Disable -Wsfinae-incomplete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GCC-16 has updated the warnings enabled and now includes -Wsfinae-incomplete triggering breakage in the included headers from Qt6: /usr/include/qt6/QtCore/qregularexpression.h:31:21: error: defining ‘QRegularExpression’, which previously failed to be complete in a SFINAE context [-Werror=sfinae-incomplete=] This is a Qt header issue outside of libcamera’s control. Disable the warning for qcam to restore buildability with newer GCC versions. Link: https://qt-project.atlassian.net/browse/QTBUG-143470 Reviewed-by: Barnabás Pőcze Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- src/apps/qcam/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/qcam/meson.build b/src/apps/qcam/meson.build index 33600095..8eb815ee 100644 --- a/src/apps/qcam/meson.build +++ b/src/apps/qcam/meson.build @@ -40,6 +40,7 @@ qt6_cpp_args = [ apps_cpp_args, '-DQT_NO_KEYWORDS', '-Wno-extra-semi', + '-Wno-sfinae-incomplete', ] # gcc 12 and 13 output a false positive variable shadowing warning with Qt