summaryrefslogtreecommitdiffstats
path: root/doc/src/whatsnew/whatsnew54.qdoc
blob: ab06228405a6163e59fef1afcc92a46b46b2b8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/****************************************************************************
**
** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:FDL$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU Free Documentation License Usage
** Alternatively, this file may be used under the terms of the GNU Free
** Documentation License version 1.3 as published by the Free Software
** Foundation and appearing in the file included in the packaging of
** this file. Please review the following information to ensure
** the GNU Free Documentation License version 1.3 requirements
** will be met: https://www.gnu.org/licenses/fdl-1.3.html.
** $QT_END_LICENSE$
**
****************************************************************************/

/*!
    \page whatsnew54.html
    \title What's New in Qt 5.4
    \brief Lists the new features in Qt 5.4.

    The focus for Qt 5.4 is mainly about improving the stability, performance,
    and first-time user experience of the product.

    \section1 New Modules

    \list
    \li \l[QtWebChannel]{Qt WebChannel}
    \li \l[QtWebEngine]{Qt WebEngine}
    \li \l[QtWebEngineWidgets]{Qt WebEngine Widgets}
    \li \l[QtPlatformHeaders]{Qt Platform Headers}
    \endlist

    \section1 New Supported Platforms

    \list
    \li Qt for \WinRT now a supported platform
    \li Windows Phone 8.1 minimum supported version
    \endlist

    \section1 New Features in Qt 5.4

    \section2 Qt GUI Module
    \list
    \li QOpenGLContext is now able to adopt existing native contexts
        (EGL, GLX, and so on). This allows interoperability among Qt and other
        frameworks, such as game engines.
    \li OpenGL ES 3.0/3.1 support is improved. The header file for the highest
    usable ES version (gl31.h, gl3.h or gl2.h) is now automatically included by
    Qt's headers in -opengl es2 builds. Vertex array objects, framebuffer blits
    and multisampling are now supported via the standard GLES3 functions, where
    applicable.
    \li Selecting the dynamic OpenGL implementation on application startup is
    now available on Windows when configured with _-opengl dynamic_. This allows
    using either opengl32.dll or ANGLE's OpenGL ES 2.0 implementation in Qt and
    applications without the need for two separate builds of the binaries.
    \li QOpenGLWidget: The modern replacement for QGLWidget and the counterpart
    of QQuickWidget.
    \li QOpenGLWindow: Convenience class for performing OpenGL drawing onto a
    QWindow.
    \li QRasterWindow: Covenience class for performing software-based drawing
    via QPainter onto a QWindow.
    \li Support for 10-bit per color channels images. These can be rendered to
    and from, though internally the raster engine will still use 8-bit per
    color channel. If used as the internal format of a QOpenGLFramebufferObject,
    the OpenGL paint engine is able to render in full precision if supported by
    the OpenGL driver.
    \li \WinRT: Added support for native file dialogs.
    \endlist

    \section2 Qt Core Module
    \list
    \li \WinRT: Added support for native settings container (local and roaming).
    \li QStorageInfo: Class for providing information about currently mounted
    storage volumes and drives.
    \li QByteArrayList: Convenience class adding similar extra methods on top
    of QList<QByteArray> as QStringList does to QList<QString>.
    \li QTabletEvent: several improvements to the input information: added
    information about the stylus buttons being pressed, the rotation and
    tangential pressures now have consistent ranges across platforms, the
    proximity events now include the type of stylus or other tool in use, and
    manual tests and debug output are improved for better verification of
    functionality.
    \endlist

    \section2 Qt Widgets Module
    \list
    \li Improved scaling of widget styles based on DPI.
    \endlist

    \section2 Qt Quick Module
    \list
    \li QQuickRenderControl is made public. This API allows efficient rendering
    of Qt Quick 2 scenes into framebuffer objects. The contents can then be used
    in arbitrary ways in Qt-based or 3rd party OpenGL renderers.
    \li Introduced overlay and \e{pull back} headers and footers for ListView.
    \li Added QQuickFontMetrics, which provides a subset of QFontMetricsF's API.
    \li Added QQuickTextMetrics, which provides a declarative API for the
    QFontMetricsF function arguments.
    \li QQuickWidget is now supported on Android.
    \endlist

    \section2 Qt Quick Controls Module
    \list
    \li Native \l{Android Style}{Android style} support on Android v3.0
        or later.
    \endlist

    \section2 Qt Bluetooth Module
    \list
    \li Support for Bluez5.
    \li Tech Preview of Bluetooth Low Energy (client side support only, on
    Bluez 4 & 5).
    \endlist

    \section2 QPA Plugins
    \list
    \li The Wayland platform plugin is now part of the release.
    \li XCB will now support screen with a depth of 30 (10 bit per color
    channel).
    \li More font settings are parsed by fontconfig and GTK platform backends.
    \li More categorized logging is in use so that you can enable it in the
    standard ways (qtlogging.ini etc.) instead of needing to set obscure
    environment variables or uncomment #defines.  The log also provides more
    complete information, especially about events.
    \li Support for integer device pixel ratios larger than one has been added
    to the XCB plugin. The ratio is controlled by the environment variable
    \c QT_DEVICE_PIXEL_RATIO.
    \endlist

    \section2 Qt WebKit Module
    \list
    \li  Added support for OpenGL accelerated 2D canvas to
    \l{Qt WebKit Widgets}.
    \li The Qt WebKit module is considered \e done. It will be replaced by
    Qt \WebEngine. This applies to the widgets as well as to the QML API of
    Qt WebKit.
    \endlist

    \section2 Qt Windows Extras Module
    \list
    \li Multiple thumbnail images when hovering over an application's taskbar.
    \endlist

    \section2 Qt Sensors Module
    \list
    \li Windows Phone: Added compass and ambient light sensors.
    \endlist

    \section2 Qt SQL Module
    \list
    \li Windows Phone: Added support for sqlite.
    \endlist

    \section1 Deprecated Features

    \section2 Qt OpenGL  Module
    \list
    \li The Qt OpenGL module (which contain classes that start with \e QGL) is
    now deprecated in favor of the \l{Qt GUI} module (which contains classes
    that start with \e QOpenGL). QGLWidget can now be replaced by QOpenGLWidget.
    \endlist

    \section1 List of API Changes

    The pages below contain a list of API changes in Qt 5.4:
    \list
    \li \l{New Classes and Functions in Qt 5.4}
    \li \l{Obsolete Classes}
    \endlist

    \section1 Additions to Other Qt 5 Releases

    \list
    \li \l{What's New in Qt 5.3}
    \li \l{What's New in Qt 5.2}
    \li \l{What's New in Qt 5.1}
    \li \l{What's New in Qt 5.0}
    \endlist

*/

/*!
    \page newclasses54.html
    \title New Classes and Functions in Qt 5.4
    \brief A list of new APIs in Qt 5.4.

    This page contains a comprehensive list of all new classes and functions
    introduced in Qt 5.4. Links to new APIs in previous Qt 5 releases are found
    at the bottom of this page.

    \sincelist 5.4

    \section1 Additions to Other Qt 5 Releases

    \list
    \li \l{What's New in Qt 5.6}
    \li \l{What's New in Qt 5.5}
    \li \l{What's New in Qt 5.3}
    \li \l{What's New in Qt 5.2}
    \li \l{What's New in Qt 5.1}
    \li \l{What's New in Qt 5.0}
    \endlist
*/