All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/qt6/qt6base: don't require gbm for eglfs
@ 2026-09-14  8:21 Fred Lefranc
  2026-09-14  8:21 ` [Buildroot] [PATCH 1/1] " Fred Lefranc
  0 siblings, 1 reply; 3+ messages in thread
From: Fred Lefranc @ 2026-09-14  8:21 UTC (permalink / raw)
  To: buildroot; +Cc: Fred Lefranc

From: Fred Lefranc <fred.lefranc+evs@gmail.com>

Hi all,

While trying to enable Qt 6 with the eglfs eglfs_viv backend on a
32-bit i.MX6 target (imx-gpu-viv, framebuffer output), I hit the
package dependency-chain consistency error, because qt6base pulls in
libgbm/libdrm unconditionally for eglfs even though the Vivante
framebuffer EGL integration needs neither.

The root cause is that qt6base treats GBM as a hard requirement for
*all* of eglfs, whereas GBM/KMS is only needed by the eglfs_kms
backend. This patch decouples the two: eglfs now only requires libegl,
and GBM/KMS support is enabled conditionally when a gbm provider is
available.

Tested:
 - i.MX6Q (Cortex-A9, glibc, EABIhf), imx-gpu-viv FB output: qt6base
   builds, libqeglfs-viv-integration.so is produced, and a Qt app runs
   with -platform eglfs / QT_QPA_EGLFS_INTEGRATION=eglfs_viv.

I wasn't sure whether maintainers prefer keeping a Config.in comment
to explain that eglfs without gbm only provides vendor/fb backends -
happy to add one. Feedback welcome.

Thanks,
Fred

Fred Lefranc (1):
  package/qt6/qt6base: don't require gbm for eglfs

 package/qt6/qt6base/Config.in  |  2 +-
 package/qt6/qt6base/qt6base.mk | 12 ++++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-28  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14  8:21 [Buildroot] [PATCH] package/qt6/qt6base: don't require gbm for eglfs Fred Lefranc
2026-09-14  8:21 ` [Buildroot] [PATCH 1/1] " Fred Lefranc
2026-09-28  8:42   ` Fred Lefranc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.