Skip to content

Commit

Permalink
qtbase: Enable wayland knob when in distro features
Browse files Browse the repository at this point in the history
Mimic the behavior from recipe proper here since we override
packageconfig defaults. With QT 6.7, qtbase built without wayland
support is not sufficient to build rest of QT components e.g. qtwayland
errors out during build/configure

    ERROR: Qt Wayland Client requires QtGui to be build with support for wayland

Therefore add it when wayland is in distro features.

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj authored and sashko committed Aug 13, 2024
1 parent 5348472 commit ff7b509
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ PACKAGECONFIG_PLATFORM_EGLFS:mx8-nxp-bsp = " \
PACKAGECONFIG_PLATFORM:use-mainline-bsp = " \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}"

PACKAGECONFIG += " \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${PACKAGECONFIG_WAYLAND}', '', d)}"
PACKAGECONFIG_WAYLAND = "wayland"

PACKAGECONFIG += " \
${@bb.utils.contains('DISTRO_FEATURES', 'vulkan', '${PACKAGECONFIG_VULKAN}', '', d)}"
PACKAGECONFIG_VULKAN = ""
Expand Down

0 comments on commit ff7b509

Please sign in to comment.