Qt Wayland Compositor 是提供用於開發自定義顯示服務器,方便且強大的 QML 和 C++ API 模塊,基於 Wayland 協議。顯示服務器 (通常稱為 Compositor 閤成器) 顯示來自支持 Wayland 協議的客戶端應用程序的內容。
Wayland's design philosophy is to keep the core protocol simple and minimal. Developers can then expand on this core protocol with use-case-specific extensions. Qt Wayland Compositor supports many common extensions by default, and also has APIs to enable the creation of new, custom extensions.
Typically, a compositor written with Qt Wayland Compositor becomes a subsystem inside a larger application manager process. Qt Wayland Compositor provides the APIs to communicate with clients and display their content on the screen. The QML APIs contain high-level APIs that easily integrate with the rest of Qt, enabling convenient animations, effects, and UI through Qt Quick. There are also C++ APIs available - if you need more low-level access.
An application manager would typically implement additional features such as application life cycle, virtual keyboard input, security, and Inter-Process Communication (IPC). Qt provides the APIs that can be used to develop the remaining parts of an application manager in other modules. The Qt Automotive Suite 提供 Qt Application Manager , which is a complete application manager that includes a compositor developed using Qt Wayland Compositor.
有關 Wayland 的更多信息,見 Wayland 和 Qt .
The Qt Wayland Compositor includes features necessary to create a compositor:
The Qt Wayland Compositor recognizes the following environment variables and command-line arguments:
--wayland-socket-name
Overrides the default socket name used for communicating with clients.
查看 Qt Wayland Compositor 範例 to learn how these APIs can be used to write custom compositors.
可以使用 Qt Wayland Compositor,從 C++ 或 QML:
Qt Wayland Compositor 和 Qt Wayland 集成插件在商業許可下是可用的來自 Qt 公司 .
此外,Qt Wayland Compositor 是可用的在 GNU GPL (一般公共許可) 第 3 版 ,而 Qt Wayland 集成插件可用於 GNU LGPL (次一般公共許可) 第 3 版 或 GNU GPL (一般公共許可) 第 2 版 .
見 Qt 許可 進一步瞭解細節。
Qt Wayland Compositor 和 Qt Wayland 集成插件所用協議定義遵循以下準許許可:
| MIT 許可 | |
| MIT 許可 | |
| MIT 許可 | |
|
Wayland Linux Dmabuf Unstable V1 Protocol, version unstable v1, version 3 |
MIT 許可 |
| MIT 許可 | |
| MIT 許可 | |
| MIT 許可 | |
| MIT 許可 | |
| HPND 許可 | |
| MIT 許可 | |
| MIT 許可 | |
| MIT 許可 | |
|
Wayland xdg-decoration Protocol, version unstable v1, version 1 |
MIT 許可 |