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.