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 |