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
getting-started.qdoc
Go to the documentation of this file.
1
// Copyright (C) 2025 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4
/*!
5
\page qmlapplications.html
6
\title Getting started with Qt Quick applications
7
\keyword QML Applications
8
\brief Essential documentation for Qt Quick application developers
9
\ingroup explanations-programminglanguages
10
11
QML is a declarative language that allows user interfaces to be described in
12
terms of their visual components and how they interact and relate with one
13
another. It is a highly readable language that was designed to enable
14
components to be interconnected in a dynamic manner, and it allows components to
15
be easily reused and customized within a user interface. Using the \c QtQuick
16
module, designers and developers can easily build fluid animated user interfaces
17
in QML, and have the option of connecting these user interfaces to any back-end
18
C++ libraries.
19
20
\section1 Qt Academy Courses
21
22
The following Qt Academy courses are recommended for getting started with QML
23
and Qt Quick.
24
25
\section2 Basic courses
26
27
\list
28
\li \l {https://www.qt.io/academy/course-catalog#qml-for-beginners}{QML for Beginners}
29
\li \l {https://www.qt.io/academy/course-catalog#introduction-to-qml}{Introduction to QML}
30
\li \l {https://www.qt.io/academy/course-catalog#introduction-to-qt-quick}{Introduction to Qt Quick}
31
\li \l {https://www.qt.io/academy/course-catalog#introduction-to-qt-quick-controls}{Introduction to Qt Quick Controls}
32
\li \l {https://www.qt.io/academy/course-catalog#creating-a-simple-qt-quick-application-}{Creating a Simple Qt Quick Application}
33
\endlist
34
35
\section2 Intermediate courses
36
37
\list
38
\li \l {https://www.qt.io/academy/course-catalog#qml-dashboard:-main-ui}{QML Dashboard: Main UI}
39
\li \l {https://www.qt.io/academy/course-catalog#qml-dashboard:-inbox}{QML Dashboard: Inbox}
40
\li \l {https://www.qt.io/academy/course-catalog#qml-dashboard:-calendar}{QML Dashboard: Calendar}
41
\li \l {https://www.qt.io/academy/course-catalog#qml-dashboard:-courses}{QML Dashboard: Courses}
42
\endlist
43
44
\section1 What is QML?
45
46
QML is a user interface specification and programming language.
47
It allows developers and designers alike to create highly performant, fluidly
48
animated and visually appealing applications. QML offers a highly readable,
49
declarative, JSON-like syntax with support for imperative JavaScript
50
expressions combined with dynamic property bindings.
51
52
\snippet qmlapp/qml_overview.qml file
53
54
The QML language and engine infrastructure is provided by the \l {Qt Qml}
55
module. For in-depth information about the QML language, see the
56
\l{Qt Qml} module documentation.
57
58
The following pages contain more information about QML:
59
60
\list
61
\li \l{\QC: Create Qt Quick Applications}
62
\li \l{First Steps with QML} - begin using QML with these examples
63
\li \l{Glossary of QML Terms}
64
\li \l{The QML Reference} - reference about the QML constructs and features
65
\li \l{qml-codingconventions.html}{QML Coding Conventions}
66
\li \l{All QML APIs by Module}
67
\endlist
68
69
\section1 What is Qt Quick?
70
71
Qt Quick is the standard library of QML types and functionality for QML. It
72
includes visual types, interactive types, animations, models and views,
73
particle effects and shader effects. A QML application developer can get
74
access to all of that functionality with a single import statement.
75
76
The \c QtQuick QML library is provided by the \l{Qt Quick} module.
77
For in-depth information about the various QML types and other functionality
78
provided by Qt Quick, please see the \l{Qt Quick} module documentation.
79
Qt Quick adds visual types, animation types, and other QML types in addition to
80
the standard QML types from Qt Qml.
81
82
\list
83
\li \l{Visual types}
84
\li \l{Positioners and layouts}
85
\li \l{Handling user input}
86
\li \l{Displaying text}
87
\li \l{Animations}
88
\li \l{Integrating JavaScript in QML}
89
\endlist
90
91
\section2 Buttons, Menus, and other Controls
92
93
For a set of UI controls, the \l{Qt Quick Controls} module implements several
94
controls such as buttons, menus, and views. These controls come with
95
several built-in styles that can be used, and also support the creation
96
of custom styles.
97
98
\section1 Qt Quick Application Development
99
100
\l{\QC Documentation}{\QC} has built-in support for creating Qt Quick
101
applications. \l{Qt VS Tools} and \l {Qt Extension for VS Code}
102
also allow you to create Qt Quick applications with Visual Studio and Visual
103
Studio Code. The \QMLLS can be used from any IDE supporting the language server
104
protocol.
105
106
For a design centric workflow, use \QDS.
107
108
For more information about creating Qt Quick applications, visit the following
109
pages:
110
111
\list
112
\li \l{\QC: Create Qt Quick Applications}
113
\li \l{\QDS: Getting Started}
114
\endlist
115
116
\section1 Code Samples and Demos
117
118
To learn more about uses of QML code, there are several code samples which show
119
how QML types are used. In addition, there are several demos which show how
120
QML code is used in applications.
121
122
\list
123
\li \l{Getting Started programming with Qt Quick: An Alarm Application} - a tutorial showing the
124
creation of a simple alarm application.
125
\li \l{Qt Quick Examples and Tutorials}
126
\endlist
127
128
\section1 Advanced Application Development Topics
129
130
\list
131
\li \l{Overview - QML and C++ Integration}
132
\li \l{Deploying QML Applications}
133
\li \l{Qt Quick Compiler}
134
\li \l{Best Practices for QML and Qt Quick}
135
\li \l{Performance considerations and suggestions}
136
\li \l{Internationalization with Qt}{Internationalization and Localization}
137
\li Testing and Debugging
138
\list
139
\li \l{qml_runtime_tool}{Prototyping with the QML Runtime Tool}
140
\li \l{Debugging QML Applications}
141
\li \l{Qt Quick Test}{Qt Quick Test: QML Unit Testing Framework}
142
\endlist
143
\endlist
144
145
\section1 Related Topics
146
147
\list
148
\li \l{All QML Types}
149
\li \l{All QML APIs by Module}
150
\li \l{Obsolete QML Types}
151
\endlist
152
153
*/
qtdeclarative
src
quick
doc
src
getting-started
getting-started.qdoc
Generated on
for Qt by
1.16.1