Qt Wayland Compositor C++ Classes
Provides C++ classes for writing custom Wayland display servers. More...
Classes
Holds the reference to a surface buffer | |
Represents a client connecting to the QWaylandCompositor | |
Manages the Wayland display server | |
The base class for compositor extensions | |
Convenience class for subclassing QWaylandCompositorExtension | |
Provides an extension that allows to inhibit the idle behavior of the compositor | |
Extension for embedded-style user interfaces | |
Simple way to identify and resize a surface | |
Represents a keyboard device | |
The base class for objects that can contain Wayland extensions | |
Represents a displayable area managed by the compositor | |
Holds the resolution and refresh rate of an output | |
Represents a pointer device | |
Extension to get timing for on-screen presentation | |
Provides access to input methods in the compositor | |
Qt Quick item representing a QWaylandView | |
Provides support for shell surface integration with QtQuick | |
Qt Quick item that represents a QWaylandShellSurface | |
Container for a wl_resource | |
Access to keyboard, mouse, and touch input | |
Common interface for surface roles specified by shell extensions | |
Convenience class for creating custom shell surface classes | |
Represents a rectangular area on an output device | |
Allows to read the content of a QWaylandSurface | |
Represents the role of the surface in context of wl_surface | |
Provides access to input methods in the compositor | |
Access to a touch device | |
Represents a view of a surface on an output | |
Provides an extension for surface resizing and cropping | |
Extension for desktop-style user interfaces | |
Desktop-style compositor-specific features to a surface | |
Provides an extension for negotiation of server-side and client-side window decorations | |
Provides an extension for describing outputs in a desktop oriented fashion | |
Represents the popup specific parts of an xdg surface | |
Extension for desktop-style user interfaces | |
Desktop-style compositor-specific features to an xdg surface | |
Represents the toplevel window specific parts of an xdg surface |
Detailed Description
Using the Module
Using a Qt module's C++ API requires linking against the module library, either directly or through other dependencies. Several build tools have dedicated support for this, including CMake and qmake.
Building with CMake
Use the find_package()
command to locate the needed module component in the Qt6
package:
find_package(Qt6 REQUIRED COMPONENTS WaylandCompositor)
target_link_libraries(mytarget PRIVATE Qt6::WaylandCompositor)
For more details, see the Build with CMake overview.
Building with qmake
To configure the module for building with qmake, add the module as a value of the QT
variable in the project's .pro file:
QT += waylandcompositor
For more information about using these classes in your application, see the Qt Wayland Compositor documentation.
© 2023 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.