QWaylandResource is a container for a
| find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
|QT += waylandcompositor
The QWaylandResource is a simple wrapper around the Wayland type
wl_resource, and makes it possible to use wl_resource pointers in Qt Quick APIs.
See also Custom Shell.
Member Function Documentation
Constructs an invalid QWaylandResource. The resource() accessor will return null.
Constructs a QWaylandResource which contains resource.
Returns the wl_resource pointer held by this QWaylandResource.
© 2024 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.