summaryrefslogtreecommitdiff
path: root/src/apps/qcam
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-07-29 20:25:50 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-07-30 14:21:21 +0300
commitd5cbf69a7feb39af5b767f2d000f9aead80d7563 (patch)
tree4825ecc3a6bceb98ea69f9235c4163977271a3df /src/apps/qcam
parentc9152bad5ce905f5a31dbd05b40195f02c0cc2a9 (diff)
apps: qcam: Disable -Wextra-semi
The Qt 6 qkeysequence.h header has an extra semicolon. This causes a build failure with clang: /usr/include/qt6/QtGui/qkeysequence.h:139:26: error: extra ';' after member function definition [-Werror,-Wextra-semi] 139 | Q_ENUM(SequenceMatch); | ^ We can't fix the issue, so ignore the warning in qcam. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'src/apps/qcam')
-rw-r--r--src/apps/qcam/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/apps/qcam/meson.build b/src/apps/qcam/meson.build
index c7fcfbeb..f7c14064 100644
--- a/src/apps/qcam/meson.build
+++ b/src/apps/qcam/meson.build
@@ -36,7 +36,11 @@ qcam_resources = files([
'assets/shader/shaders.qrc',
])
-qt6_cpp_args = [apps_cpp_args, '-DQT_NO_KEYWORDS']
+qt6_cpp_args = [
+ apps_cpp_args,
+ '-DQT_NO_KEYWORDS',
+ '-Wno-extra-semi',
+]
resources = qt6.preprocess(moc_headers : qcam_moc_headers,
qresources : qcam_resources,