Nesta página

QWaylandClientExtensionTemplate Class

template <typename T, auto destruct> class QWaylandClientExtensionTemplate

Uma classe para implementar extensões personalizadas no protocolo Wayland. Saiba mais...

Cabeçalho: #include <QWaylandClientExtensionTemplate>
CMake: find_package(Qt6 REQUIRED COMPONENTS WaylandClient)
target_link_libraries(mytarget PRIVATE Qt6::WaylandClient)
qmake: QT += waylandclient
Herdado de: QWaylandClientExtension

Descrição detalhada

A QWaylandClientExtensionTemplate é uma classe de conveniência para criar a implementação do lado do cliente de protocolos Wayland personalizados. O uso típico envolve herdar essa classe e instanciá-la com sua própria subclasse.

Consulte o exemplo “Extensão personalizada” em Qt Wayland Compositor para um uso concreto desta classe.

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