Skip to content

Commit

Permalink
(conan-io#15341) qt: Add wayland as Gui component require
Browse files Browse the repository at this point in the history
  • Loading branch information
EstebanDugueperoux2 committed Jan 18, 2023
1 parent 99cb50f commit 6f1bd1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/qt/5.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,6 +1034,8 @@ def _create_plugin(pluginname, libname, plugintype, requires):
if self.options.get_safe("with_fontconfig", False):
gui_reqs.append("fontconfig::fontconfig")
if self.settings.os in ["Linux", "FreeBSD"]:
if self.options.qtwayland:
gui_reqs.append("wayland::wayland")
if self.options.qtwayland or self.options.get_safe("with_x11", False):
gui_reqs.append("xkbcommon::xkbcommon")
if self.options.get_safe("with_x11", False):
Expand Down

0 comments on commit 6f1bd1f

Please sign in to comment.