comment "qt6wayland needs an OpenGL-capable backend"
	depends on !BR2_PACKAGE_QT6_GL_SUPPORTS

config BR2_PACKAGE_QT6WAYLAND
	bool "qt6wayland"
	depends on BR2_PACKAGE_QT6_GL_SUPPORTS
	select BR2_PACKAGE_WAYLAND
	select BR2_PACKAGE_QT6BASE_GUI
	# needed because we build host-qt6wayland
	select BR2_PACKAGE_HOST_QT6BASE_GUI
	help
	  Qt is a cross-platform application and UI framework for
	  developers using C++.

	  This package corresponds to the qt6wayland module.

	  https://doc.qt.io/qt-6/qtwayland-index.html

if BR2_PACKAGE_QT6WAYLAND

config BR2_PACKAGE_QT6WAYLAND_COMPOSITOR
	bool "Enable compositor (experimental)"
	select BR2_PACKAGE_LIBXKBCOMMON
	help
	  The compositor API is still experimental, and not built by
	  default.

endif
