[Development] qtbase_git.bb dependency on at-spi bridge

Michal Šebeň mseben at gmail.com
Wed Jun 11 10:32:37 CEST 2025


Hello,
While switching to a newer Qt version using meta-qt6, I noticed there is a
new dependency on at-spi2-core. See this MR:
https://codereview.qt-project.org/c/yocto/meta-qt6/+/627017

Is there a reason why this additional dependency on at-spi2-core for
Accessibility is generally enforced ? According to
qtbase/src/gui/configure.cmake, building Qt with Accessibility disabled is
unsupported. So even if I don't need Accessibility features in my QML app,
I still need to keep it enabled in qtbase build. Enforcing more
dependencies like at-spi2-core,which are not always needed, doesn't seem
right to me.

Would be this line acceptable as a merge request for recipes-qt/qt6/
qtbase_git.bb or did i missed something in my thoughts about enforced
dependency or disabled accessibility build support ?
ACCESSIBILITY_DEPENDS = "${@bb.utils.contains('PACKAGECONFIG',
'atspibridge', bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland',
'at-spi2-core', '', d), '', d)}"

thanks,
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20250611/d67cb637/attachment.htm>


More information about the Development mailing list