移植到 Qt 6 - Qt Wayland Compositor

Qt 6 是努力使框架更高效,且更易於使用的結果。

為兼容每個發行的所有公共 API,我們試著維護二進製和源代碼。但是,為使 Qt 成為更優框架,一些改變是不可避免的。

In this topic we summarize those changes in Qt Wayland Compositor, and provide guidance to handle them.

Import of Shell Classes

In Qt 5, a few auxiliary classes were available through the Qt Wayland Compositor namespace. In order to improve the logical separation of these from the primary functionality of the compositor, they have been moved into separate imports in Qt 6.

  • WlShell types are now available in QtWayland.Compositor.WlShell
  • XdgShell types are now available in QtWayland.Compositor.XdgShell
  • IviApplication types are now available in QtWayland.Compositor.IviApplication