Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtwaylandclient-overview.qdoc
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3/*!
4 \module QtWaylandClient
5 \title Qt Wayland Client C++ Classes
6 \ingroup modules
7 \qtcmakepackage WaylandClient
8 \qtvariable waylandclient
9 \brief Library to enable connecting to a Wayland compositor as a client.
10
11 The \l{Qt Wayland Client} page contains information about how to use the module.
12*/
13
14/*!
15 \page qtwaylandclient-index.html
16 \title Qt Wayland Client
17 \brief Library to enable connecting to a Wayland compositor as a client
18
19 The Qt Wayland Client library provides the necessary functions for an application to act
20 as a \l {https://wayland.freedesktop.org/}{Wayland} client and connect to a Wayland compositor.
21 For most use cases, the library is used automatically through the Wayland QPA plugin, and there is
22 no need for the application itself to use any functions from the library.
23
24 See \l{Qt for Linux/X11}{Qt for Linux} for general information. For more information
25 about Wayland itself, see \l{Wayland and Qt}.
26
27 The cmake function \l{qt_generate_wayland_protocol_client_sources}{qt_generate_wayland_protocol_client_sources()}
28 can be used to create custom protocol extensions.
29
30 Qt also provides the \l{Qt Wayland Compositor} module for developing compositors.
31
32 \section1 Using the Module
33
34 \include {module-use.qdocinc} {using the c++ api}
35
36 \section2 Building with CMake
37
38 \include {module-use.qdocinc} {building with cmake} {WaylandClient}
39
40 \section2 Building with qmake
41
42 \include {module-use.qdocinc} {building_with_qmake} {waylandclient}
43
44 \section1 Reference
45
46 \list
47 \li \l {Qt Wayland Client C++ Classes} {C++ Classes}
48 \endlist
49
50 \section1 Licenses and Attributions
51
52 Qt Wayland Compositor and the Qt Wayland integration plugin
53 are available under commercial licenses from \l{The Qt Company}.
54
55 In addition, Qt Wayland Compositor is available under the
56 \l{GNU General Public License, version 3}, while
57 the Qt Wayland integration plugin is available under the
58 \l{GNU Lesser General Public License, version 3} or the
59 \l{GNU General Public License, version 2}.
60
61 See \l{Qt Licensing} for further details.
62
63 Qt Wayland Compositor and the Qt Wayland integration plugin
64 use protocol definitions under following permissive licenses:
65
66 \annotatedlist attributions-qtwaylandcompositor
67
68*/