このページでは

Qt 6 への移植 -Qt Wayland Compositor

Qt 6は、フレームワークをより効率的で使いやすくするための意識的な取り組みの成果です。

各リリースにおいて、すべての公開 API についてバイナリ互換性とソース互換性を維持するよう努めています。しかし、Qt をより優れたフレームワークにするための取り組みにおいて、一部の変更は避けられませんでした。

このトピックでは、Qt Wayland Compositor におけるそれらの変更点をまとめ、それらに対処するための指針を提供します。

シェルクラスのインポート

Qt 5 では、Qt Wayland Compositor 名前空間を通じていくつかの補助クラスが利用可能でした。これらをコンポジターの主要機能から論理的に分離するため、Qt 6 ではこれらは個別のインポートに移動されました。

  • WlShell これらの型は現在、QtWayland.Compositor.WlShell
  • XdgShell typesは現在、QtWayland.Compositor.XdgShell
  • IviApplication typesは現在、以下で利用可能ですQtWayland.Compositor.IviApplication

© 2026 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.