Porting to Qt 6 - Qt Wayland Compositor

Qt 6 is a result of the conscious effort to make the framework more efficient and easy to use.

We try to maintain binary and source compatibility for all the public APIs in each release. But some changes were inevitable in an effort to make Qt a better framework.

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

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.