From f431abfb4c09296e4cbe43b59ae6386801a24cad Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Wed, 27 Mar 2024 07:18:57 -0500 Subject: [PATCH] Fix missing GUI requirement on egl/system --- recipes/qt/6.x.x/conanfile.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/qt/6.x.x/conanfile.py b/recipes/qt/6.x.x/conanfile.py index 0a6da3ec58a74..3100b72c84b6d 100644 --- a/recipes/qt/6.x.x/conanfile.py +++ b/recipes/qt/6.x.x/conanfile.py @@ -1059,8 +1059,11 @@ def _create_plugin(pluginname, libname, plugintype, requires): gui_reqs.append("xkbcommon::xkbcommon") if self.options.get_safe("with_x11", False): gui_reqs.append("xorg::xorg") - if self.options.get_safe("with_egl"): + if self.options.get_safe("with_egl"): + if self.settings.os in ["Linux", "FreeBSD"]: gui_reqs.append("libglvnd::egl") + else: + gui_reqs.append("egl::egl") if self.settings.os != "Windows" and self.options.get_safe("opengl", "no") != "no": if self.settings.os in ["FreeBSD", "Linux"]: gui_reqs.append("libglvnd::gl")