[Buildroot] [PATCH RFC 0/2] add initial support for libcamera's qcam
Quentin Schulz
foss+buildroot at 0leil.net
Tue Apr 8 15:16:39 UTC 2025
This adds initial support for qcam example GUI from libcamera. It is
based on Qt6 and uses openGL.
Sadly, the qt module from meson is currently broken (see first patch in
the series) and requires patching. Upstream isn't really happy with what
I suggested but I haven't understood what they don't like about it so
cannot currently suggest anything better, hence the RFC.
While qcam currently renders the camera liveview, all characters of the
GUI are squares. I have enabled fontconfig and UTF-8 locales but after
building everything (though I dircleaned qt6base once), so not entirely
sure what's missing or if it's PEBKAC, hence the RFC. Though that may be
acceptable? Do not know. Would appreciate pointers on how to debug this
(assumed) font issue.
I'm not planning on actively working on this as the only product we have
that could use this is currently stuck on qt5 so cannot use new qcam and
it would anyway only be for debug firmware releases. See this as a code
dump essentially. If there are hints or limited work required to have
this merged, I'll happily try to find time doing it but feel free to
take over the series or disregard it entirely.
This is based on top of
https://lore.kernel.org/buildroot/20250404-libcamera-0-5-0-v1-0-e2ca9d029aeb@cherry.de/T/#t
Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
---
Quentin Schulz (2):
package/meson: look for qt6 tools on Buildroot host machine
package/libcamera: initial support for Qt6 qcam
package/libcamera/libcamera.mk | 5 ++
...e-look-for-qt-tools-only-on-build-machine.patch | 56 ++++++++++++++++++++++
2 files changed, 61 insertions(+)
---
base-commit: 43abcd4c7dd8ad65d2f2012f3d4292362550a3ed
change-id: 20250404-libcamera-qcam-e8269c47e2f9
prerequisite-change-id: 20250404-libcamera-0-5-0-b9ecf899ddb4:v1
prerequisite-patch-id: 854e58d76fc57aa774ca0d315ecae56b67c00c8a
prerequisite-patch-id: 4873ac99203f0d789d64aec048249d9ba6a15a82
prerequisite-patch-id: c4d504c6563a911ba550be263063cfd7bf04bcbe
prerequisite-patch-id: 4a74788db759d3b67650f1456ee4d64f9394f50a
prerequisite-patch-id: 73a4b5a3204b1a901da74a3ffe1672055404dd2f
prerequisite-patch-id: 90b567b9a37abb58747d965ea2e0fef41358844b
prerequisite-patch-id: 946aac34b70f001c24fc6fe86caab759a4591359
prerequisite-patch-id: cee428a4219c83704347f6f194694f21093034da
prerequisite-patch-id: 6bbbdc80dc639a1b2918d79ae101e1030f3312bd
Best regards,
--
Quentin Schulz <quentin.schulz at cherry.de>
More information about the buildroot
mailing list