QWaylandClientExtensionTemplate Class
template <typename T, auto destruct> 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.