QWaylandResource is a container for a
|CMake:|| find_package(Qt6 REQUIRED COMPONENTS Waylandcompositor) |
target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor)
|qmake:||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.
Member Function Documentation
Constructs a QWaylandResource which contains resource.
Constructs an invalid QWaylandResource. The resource() accessor will return null.
Returns the wl_resource pointer held by this QWaylandResource.
© 2022 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.