From 110dbeceebb63bf386996f85a384bd1cadd4842f Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 16 Apr 2024 13:06:18 +0000 Subject: [PATCH] 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 --- recipes-qt/qt6/qtwayland_git.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-qt/qt6/qtwayland_git.bb b/recipes-qt/qt6/qtwayland_git.bb index e0a5237..f5f14c6 100644 --- a/recipes-qt/qt6/qtwayland_git.bb +++ b/recipes-qt/qt6/qtwayland_git.bb @@ -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