Qt Wayland 模块提供用于创建支持 Wayland 协议的自定义显示服务器的 QML 类型。
可以使用以下 import 语句将 QML 类型导入应用程序:
import QtWayland.Compositor 1.0
要链接到模块,添加此行到
qmake
.pro
文件:
QT += waylandcompositor
有关在应用程序中使用这些类型的更多信息,见 Qt Wayland Compositor 文档编制。
| WaylandClient | Represents a client connecting to the WaylandCompositor |
| WaylandCompositor | 管理 Wayland 显示服务器 |
| WaylandOutput | Provides access to a displayable area managed by the compositor |
| WaylandQuickItem | Provides a Qt Quick item that represents a WaylandView |
| WaylandSeat | Provides access to keyboard, mouse, and touch input |
| WaylandSurface | Represents a rectangular area on an output device |
| WaylandView | Represents a view of a surface on an output |
| IviApplication | Provides a shell extension for embedded-style user interfaces |
| IviSurface | Provides a simple way to identify and resize a surface |
| ShellSurfaceItem | A Qt Quick item type for displaying and interacting with a ShellSurface |
| ShellSurface | Provides a common interface for surface roles specified by shell extensions |
| WlShell | Provides an extension for desktop-style user interfaces |
| WlShellSurface | Provides a wl_shell_surface that offers desktop-style compositor-specific features to a surface |
| XdgPopupV5 | Provides a xdg_popup interface that implements popup features for the xdg-shell protocol |
| XdgShellV5 | Provides an extension for desktop-style user interfaces |
| XdgSurfaceV5 | Provides a xdg_surface that offers desktop-style compositor-specific features to a surface |