qtwayland: make wayland DISTRO_FEATURES a requirement

QtWayland requires that qtbase has been built with QT_FEATURE_wayland
enabled. By default, this is done only if 'wayland' is in the
DISTRO_FEATURES. Add check that allows qtwayland to be built only
if wayland is in the DISTRO_FEATURES.

Fixes: QTBUG-123489
Pick-to: 6.7
Change-Id: I4e6d2e093e0f38f7fa150ad25303c2f20f487981
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2024-04-16 13:06:18 +00:00
parent 30ede4cdd3
commit 110dbeceeb

View File

@ -12,6 +12,9 @@ LIC_FILES_CHKSUM = " \
"
inherit qt6-cmake
inherit features_check
REQUIRED_DISTRO_FEATURES = "wayland"
include recipes-qt/qt6/qt6-git.inc
include recipes-qt/qt6/qt6.inc