移植到 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