このページでは

QWaylandClientExtensionTemplate Class

template <typename T, auto destruct = nullptr> class QWaylandClientExtensionTemplate

Waylandプロトコルでカスタム拡張機能を実装するためのクラス。詳細...

ヘッダー #include <QWaylandClientExtensionTemplate>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandClient)
target_link_libraries(mytarget PRIVATE Qt6::WaylandClient)
qmake: QT += waylandclient
継承: QWaylandClientExtension

詳しい説明

QWaylandClientExtensionTemplateはカスタムWaylandプロトコルのクライアント側実装を作成するための便利なクラスです。典型的な使い方はこのクラスを継承し、独自のサブクラスでインスタンス化することです。

このクラスの具体的な使い方については Qt Wayland Compositorのカスタム拡張の例をご覧ください。

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