1// Copyright (C) 2022 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
6 \title Qt GUI C++ Classes
11 \brief The Qt GUI module provides the basic enablers for graphical
12 applications written with Qt.
14 The \l{Qt GUI} page contains information about how to use the module.
18 \page qtgui-index.html
21 The Qt GUI module provides classes for windowing system
22 integration, event handling, OpenGL and OpenGL ES integration, 2D
23 graphics, basic imaging, fonts, and text. These classes are used
24 internally by Qt's user interface technologies but can also be
25 used directly, for example to write applications using low-level
26 OpenGL ES graphics APIs.
28 For application developers writing user interfaces, Qt provides
29 higher level APIs, like Qt Quick, that are much more suitable
30 than the enablers found in the Qt GUI module.
32 \if !defined(qtforpython)
34 \section1 Using the Module
36 \include {module-use.qdocinc} {using the c++ api}
38 \section2 Building with CMake
40 \include {module-use.qdocinc} {building with cmake} {Gui}
42 \section2 Building with qmake
44 If you use \l qmake to build your projects, Qt GUI is included by
45 default. To disable Qt GUI, add the following line to your \c .pro file:
47 \snippet code/doc_src_qtgui.pro 1
50 \section1 Articles and Guides
53 \li \l {Qt GUI Overview}
55 \li \l {Application Windows} {Qt GUI Application Windows}
56 \li \l {2D Graphics} {Qt GUI 2D Graphics}
57 \li \l {RHI Graphics} {Qt GUI Accelerated 2D and 3D Graphics using the Qt RHI}
58 \li \l {3D Matrix and Vector Math} {Qt GUI Matrix and Vector Math}
59 \li \l {OpenGL and OpenGL ES Integration}
60 {Qt GUI OpenGL and OpenGL ES Integration}
61 \li \l {Vulkan Integration} {Qt GUI Vulkan Integration}
68 \li \l{Qt GUI C++ Classes}
71 \li \l{Painting Classes}
72 \li \l{Rendering in 3D}
76 \section1 Module Evolution
78 \l{Changes to Qt GUI} lists important changes in the module API
79 and functionality that were done for the Qt 6 series of Qt.
81 \section1 Licenses and Attributions
83 Qt GUI is available under commercial licenses from \l{The Qt Company}.
84 In addition, it is available under free software licenses:
85 The \l{GNU Lesser General Public License, version 3}, or
86 the \l{GNU General Public License, version 2}.
87 See \l{Qt Licensing} for further details.
89 Furthermore, Qt GUI in Qt \QtVersion may contain third-party
90 modules under following permissive licenses:
92 \generatelist{groupsbymodule attributions-qtgui}