En esta página

QWaylandClientExtensionTemplate Class

template <typename T, auto destruct> class QWaylandClientExtensionTemplate

Una clase para implementar extensiones personalizadas en el protocolo Wayland. Más información...

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

Descripción detallada

QWaylandClientExtensionTemplate es una clase de conveniencia para crear la implementación del lado del cliente de protocolos Wayland personalizados. El uso habitual consiste en heredar esta clase e instanciarla con su propia subclase.

Consulte el ejemplo «Extensión personalizada » en Qt Wayland Compositor para ver un uso concreto de esta clase.

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