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.