qtwebengine: require opengl

Both QtWebengine and QtPdf require opengl to be built. Check
for the DISTRO_FEATURE.

Pick-to: 6.9 6.8
Change-Id: I3045271edecdd3090b31e3585ec8670c1305cf3a
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
Samuli Piippo 2025-01-28 05:37:58 +00:00
parent 9bd2c2ae4b
commit b344e6cdd7

View File

@ -21,6 +21,9 @@ inherit gettext
inherit perlnative
inherit python3native
inherit features_check
REQUIRED_DISTRO_FEATURES = "opengl"
# we don't want gettext.bbclass to append --enable-nls
def gettext_oeconf(d):
return ""