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
qtgui.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\module QtGui
6
\title Qt GUI C++ Classes
7
\ingroup modules
8
\qtcmakepackage Gui
9
\qtvariable gui
10
11
\brief The Qt GUI module provides the basic enablers for graphical
12
applications written with Qt.
13
14
The \l{Qt GUI} page contains information about how to use the module.
15
*/
16
17
/*!
18
\module QtGuiPrivate
19
\title Qt GUI Private C++ Classes
20
\qtcmakepackage GuiPrivate
21
\qtvariable gui-private
22
23
\brief Provides access to private GUI functionality.
24
25
Use the following CMake commands in your \c {CMakeLists.txt} to access
26
private Qt GUI APIs:
27
28
\badcode
29
find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
30
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
31
\endcode
32
*/
33
34
/*!
35
\page qtgui-index.html
36
\title Qt GUI
37
38
The Qt GUI module provides classes for windowing system
39
integration, event handling, OpenGL and OpenGL ES integration, 2D
40
graphics, basic imaging, fonts, and text. These classes are used
41
internally by Qt's user interface technologies but can also be
42
used directly, for example to write applications using low-level
43
OpenGL ES graphics APIs.
44
45
For application developers writing user interfaces, Qt provides
46
higher level APIs, like Qt Quick, that are much more suitable
47
than the enablers found in the Qt GUI module.
48
49
\if !defined(qtforpython)
50
51
\section1 Using the Module
52
53
\include {module-use.qdocinc} {using the c++ api}
54
55
\section2 Building with CMake
56
57
\include {module-use.qdocinc} {building with cmake} {Gui}
58
59
\section2 Building with qmake
60
61
If you use \l qmake to build your projects, Qt GUI is included by
62
default. To disable Qt GUI, add the following line to your \c .pro file:
63
64
\snippet code/doc_src_qtgui.pro 1
65
\endif
66
67
\section1 Articles and Guides
68
69
\list
70
\li \l {Qt GUI Overview}
71
\list
72
\li \l {Application Windows} {Qt GUI Application Windows}
73
\li \l {2D Graphics} {Qt GUI 2D Graphics}
74
\li \l {RHI Graphics} {Qt GUI Accelerated 2D and 3D Graphics using the Qt RHI}
75
\li \l {3D Matrix and Vector Math} {Qt GUI Matrix and Vector Math}
76
\li \l {OpenGL and OpenGL ES Integration}
77
{Qt GUI OpenGL and OpenGL ES Integration}
78
\li \l {Vulkan Integration} {Qt GUI Vulkan Integration}
79
\endlist
80
\endlist
81
82
\section1 Reference
83
84
\list
85
\li \l{Qt GUI C++ Classes}
86
\list
87
\li \l{Event Classes}
88
\li \l{Painting Classes}
89
\li \l{Rendering in 3D}
90
\endlist
91
\endlist
92
93
\section1 Module Evolution
94
95
\l{Changes to Qt GUI} lists important changes in the module API
96
and functionality that were done for the Qt 6 series of Qt.
97
98
\section1 Licenses and Attributions
99
100
Qt GUI is available under commercial licenses from \l{The Qt Company}.
101
In addition, it is available under free software licenses:
102
The \l{GNU Lesser General Public License, version 3}, or
103
the \l{GNU General Public License, version 2}.
104
See \l{Qt Licensing} for further details.
105
106
Furthermore, Qt GUI in Qt \QtVersion may contain third-party
107
modules under following permissive licenses:
108
109
\annotatedlist attributions-qtgui
110
*/
qtbase
src
gui
doc
src
qtgui.qdoc
Generated on
for Qt by
1.14.0