Auf dieser Seite

QWaylandClientExtensionTemplate Class

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

Eine Klasse zur Implementierung von benutzerdefinierten Erweiterungen für das Wayland-Protokoll. Mehr...

Kopfzeile: #include <QWaylandClientExtensionTemplate>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandClient)
target_link_libraries(mytarget PRIVATE Qt6::WaylandClient)
qmake: QT += waylandclient
Vererbt: QWaylandClientExtension

Detaillierte Beschreibung

Das QWaylandClientExtensionTemplate ist eine Komfortklasse für die Erstellung der clientseitigen Implementierung von benutzerdefinierten Wayland-Protokollen. Typischerweise wird diese Klasse geerbt und mit ihrer eigenen Unterklasse instanziiert.

Siehe das Beispiel Custom Extension in Qt Wayland Compositor für eine konkrete Anwendung dieser Klasse.

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