Qt Wayland Compositor

Qt Wayland Compositor is a module that provides QML and C++ APIs for developing custom display servers based on the Wayland protocol . The server displays content from client applications that support the Wayland protocol.

环境变量和命令行自变量

The Qt Wayland Compositor API recognizes some environment variables and command-line arguments that can be used to customize its behavior.

  • 环境变量:
    • QT_WAYLAND_HARDWARE_INTEGRATION Selects the hardware integration plugin to use.
    • QT_WAYLAND_CLIENT_BUFFER_INTEGRATION Selects the client buffer integration plugin to use.
    • QT_WAYLAND_SERVER_BUFFER_INTEGRATION Selects the server integration plugin to use.
  • 命令行自变量:
    • --wayland-socket-name Overrides the default socket name used for communicating with clients.

范例

查看 Qt Wayland Compositor 范例 for a demonstration on how the APIs can be used to write custom display servers.

许可和归属

Qt Wayland Compositor 和 Qt Wayland 集成插件在商业许可下是可用的来自 Qt 公司 。此外,它们是可用的在 GNU LGPL (次一般公共许可) 第 3 版 ,或 GNU GPL (一般公共许可) 第 2 版 。见 Qt 许可 进一步了解细节。

Qt Wayland Compositor 和 Qt Wayland 集成插件所用协议定义遵循以下准许许可:

Wayland IVI Extension Protocol

MIT 许可

Wayland Protocol

HPND 许可

Wayland 文本输入协议

HPND 许可

Wayland XDG Shell Protocol

MIT 许可

API 参考

The Qt Wayland Compositor API can be used from C++ or QML.