summaryrefslogtreecommitdiff
path: root/doc/src/whatsnew/whatsnew56.qdoc
blob: 416bc4effc9be030d273bbb5301c48d7a0c5a5c6 (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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://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 http://www.qt.io/terms-conditions. For further
** information use the contact form at http://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: http://www.gnu.org/copyleft/fdl.html.
** $QT_END_LICENSE$
**
****************************************************************************/

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

    \section1 New Modules

    \list
    \li \l{Qt Labs Controls}
        \list
        \li Included as a technology preview.
        \li Provides lightweight QML types for creating performant user interfaces
            for embedded and mobile devices.
        \endlist

    \li \l{Qt Speech}
        \list
        \li Included as a technology preview.
        \li Provides support for accessibility features such as text-to-speech.
        \endlist
    \li \l{Qt Serial Bus}
     \list
         \li Included as a technology preview.
         \li Provides a framework for accessing serial bus backends in general, and
             implementations for Controller Area Network (CAN) bus and Modbus.
     \endlist
    \li \l{Qt Wayland Compositor}{Qt Compositor}(Qt Wayland)
     \list
         \li Included as a technology preview.
         \li Provides a framework to develop Wayland compositor.
     \endlist
    \li \l[QtWebEngineCore]{Qt WebEngine Core}
     \list
         \li Provides a public API shared by both \l [QtWebEngine]{Qt WebEngine}
             and \l [QtWebEngineWidgets]{Qt WebEngine Widgets}.
     \endlist
    \endlist

    \section1 New Features in Qt 5.6

    \section2 Qt 3D
    \list
     \li New buffer and attribute API.
     \li Support for \l{OpenGL Instanced Rendering}{OpenGL instanced rendering}
         where supported.
     \li Support for \l{OpenGL primitive restart}.
     \li Support for clip planes, stencil operations, and many more OpenGL
         features.
     \li Support for easily generating buffer data from C++ and QML (using
         JavaScript typed arrays).
     \li \e qgltf tool to compile scenes into \l{OpenGL glTF}{glTF}.
     \li Support for loading glTF scenes via SceneLoader.
     \li Support for controlling multi-sampling with Scene3D.
     \li More standard materials: per-vertex colors and Gooch shading.
     \li New APIs for mouse input and collision detection.
     \li New Logic aspect to have QML/C++ code executed synchronously with the
         Qt 3D aspect engine. Useful for prototyping future Qt 3D features.
    \endlist

    \section2 Qt Core Module
    \list
        \li Reduced memory usage of dynamic properties.
        \li Allow logging directly to syslog on Linux systems.
        \li Added QStorageInfo::blockSize().
        \li Added QVersionNumber class.
        \li Added key_iterator to QHash and QMap.
        \li Added const_iterator to QByteArray.
        \li Added reverse iterator support to all sequential containers.
        \li added QDir::listSeparator().
        \li Optimized performance in QString.
    \endlist

    \section2 Qt Canvas3D Module
    \list
        \li Support for using Qt Quick items as textures.
        \li Support for rendering directly to Qt Quick scene background or
            foreground.
    \endlist

    \section2 Qt GUI Module
    \list
        \li Improved cross-platform OpenGL ES 3.0 and 3.1 support to enable
            developing mobile/embedded applications utilizing GLES3 features.
        \li Improved cross-platform high-dpi support.
        \li Raster engine support for rendering internally with
            16bits-per-color.
        \li QImageReader now exports gamma values and other meta data for some
            image formats.
    \endlist

    \section2 Qt Multimedia Module
    \list
        \li New Playlist QML type.
        \li New audio role API for the media player (C++ and QML).
        \li Support for camera focus and video probe on WinRT.
        \li New functions in QML AudioEngine to support dynamic object creation.
    \endlist

    \section2 Qt NFC Module
    \list
        \li Added support for Android.
    \endlist

    \section2 Qt Network Module
    \list
        \li Added QHostAddress::isMulticast().
        \li Support HTTP redirection in QNetworkAccessManager.
    \endlist

    \section2 Qt Platform Abstraction (QPA)
    \list
        \li Optional support for using FreeType on OS X.
        \li Added support for NVIDIA Jetson TK1 Pro boards running Vibrante
            Linux via a new eglfs backend utilizing DRM, EGLDevice, and
            EGLStream.
        \li Added support for Intel Atom-based NUCs.
        \li Added support for WEC2013.
        \li Windows 10 fully supported (classic and WinRT app)
        \li Windows Store apps are now composited inside a XAML layer, allowing
            better integration with the native UI layer.
        \li Use \c libinput, if available, as the default on \c eglfs and
            \c linuxfb.
    \endlist

    \section2 Qt Positioning Module
    \list
        \li Added support for OS X.
        \li Added support for GPS receivers exposed as a serial port on Windows
            desktop (all versions).
        \li Removed libgeoclue dependency for the GeoClue backend.
    \endlist

    \section2 Qt QML Module
    \list
        \li Support for writing JavaScript function names to Linux's perf
            output.
        \li Reduced overall memory consumption.
    \endlist

    \section2 Qt Testlib Module
    \list
        \li More stable input event handling.
    \endlist

    \section2 Qt WebView Module
    \list
        \li Added support for WinRT.
    \endlist

    \section2 Qt WebEngine Module
    \list
        \li Based on Chromium 45.
        \li Support for pepper plugins including Flash.
        \li Support for unbundling and linking with system libraries on Linux.
        \li Support for following global Qt proxy settings.
        \li More WebActions from QtWebKit and WebAction API in QML.
        \li New QtWebEngineCore module for shared low-level API.
        \li New core API for custom URL schemes.
        \li New core API for intercepting and blocking network requests.
        \li New core API for tracking or blocking cookies.
    \endlist

    \section2 Qt Widgets Module
    \list
        \li Allow programmatic resizing of dock widgets.
        \li Allow dropping dock widgets into floating docks.
        \li Allow the user to re-arrange tabbed docks.
        \li Allow horizontal scrolling using a mouse wheel in QListView.
        \li Support QOpenGLWidget and QQuickWidget on WinRT.
    \endlist

    \section1 Removed Functionality
    \list
        \li Qt WebKit
        \li Qt Declarative (Qt Quick 1)
    \endlist

    \section1 Deprecated Functionality
    \list
        \li Qt Script
    \endlist

    These modules are still included in Qt 5.6, but are considered for removal
    in future releases.

    \section1 List of API Changes

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

    \section1 Additions to Other Qt 5 Releases

    \list
        \li \l{What's New in Qt 5.5}
        \li \l{What's New in Qt 5.4}
        \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 newclasses56.html
    \title New Classes and Functions in Qt 5.6
    \brief A list of new APIs in Qt 5.6.

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

    \sincelist 5.6

    \section1 Additions to Other Qt 5 Releases

    \list
        \li \l{What's New in Qt 5.5}
        \li \l{What's New in Qt 5.4}
        \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
*/