このページでは

Qt Wayland Qt Shell Extension

このモジュールは Qt 6.3 で導入されました。

概要

QtShell 拡張機能は、QtShellSurface を通常のWaylandサーフェスに関連付ける手段を提供します。QtShell 拡張機能は、Qtがサポートするウィンドウ管理機能をサポートするために作成されました。これは、コンポジターとクライアントアプリケーションの両方がQtで記述されており、手動によるウィンドウ配置や「最前面表示」などの機能が悪用されないことが保証されているプラットフォームに適している可能性があります。その他のユースケースについては、代わりにIviApplication またはXdgShell の使用を検討してください。

使用方法

このモジュールを使用するには、次のようにインポートしてください:

import QtWayland.Compositor.QtShell

QtShell

Qtアプリケーションが動作する環境向けにシェル拡張機能を提供します。Qt Wayland Compositor

QtShellChrome

qt-shell拡張機能と併用するためのデフォルトのウィンドウマネージャ機能を提供します

QtShellSurface

サーフェスの識別およびサイズ変更を簡単に行う方法を提供します

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