summaryrefslogtreecommitdiff
path: root/doc/src/whatsnew/whatsnew55.qdoc
blob: 44f57dd79a623dac61bb6cbc9eee063a410fb17e (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
257
/****************************************************************************
**
** 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 whatsnew55.html
    \title What's New in Qt 5.5
    \brief Lists the new features in Qt 5.5.

    \section1 New Modules

    \list
    \li \l[Qt3DCore]{Qt3D Module}{Qt 3D}
    \list
        \li Included as a technology preview.
        \li C++ and QML APIs for easy inclusion of 3D graphics into Qt applications.
        \li Supports OpenGL versions 2, 3 and 4, and OpenGL ES versions 2 and 3.
        \li Data-driven renderer configuration.
        \li Extensible beyond 3D graphics. Provides a full Entity Component System framework.
        \li Supported platforms:
        \list
            \li Windows (not RT)
            \li OS X
            \li Linux/xcb
            \li Android
            \li Embedded Linux with ES 2
            \li (Support for QNX and iOS planned)
        \endlist
    \endlist
    \li \l[QtLocation]{Qt Location}
    \list
        \li Included as a technology preview.
        \li Adds mapping, (reverse-)geocoding, routing and place features to Qt.
    \endlist
    \endlist

    \section1 New Features in Qt 5.5

    \section2 Qt Bluetooth Module
    \list
    \li Classic Bluetooth support added for \l{Qt for OS X}{OS X}.
    \li Bluetooth Low Energy support added for \l{Qt for Android}{Android}, \l{Qt for iOS}{iOS}
    and \l{Qt for OS X}{OS X}
    \endlist

    \section2 Qt Core Module
    \list
        \li Added a possibility to have Q_PROPERTY and Q_INVOKABLE within a Q_GADGET,
            with a way to query the QMetaObject of such gadgets using the QMetaType
            system.
        \li Added Q_ENUM to replace Q_ENUMS, which allows to get a QMetaEnum at
            compile time using QMetaEnum::fromType<T>. Such enums are now automatically
            registered as metatypes, and can be converted to strings within QVariant,
            or printed as string by qDebug().
    \endlist

    \section2 Qt GUI Module
    \list
        \li All Windows packages are now built with \c {-opengl dynamic}.
            No OpenGL-only or ANGLE-only builds are provided anymore.
        \li On Windows, the OpenGL implementation to use can now be configured
            based on the GPU vendor and driver versions using JSON configuration
            files. This allows shipping fine-grained card and driver blacklists
            with the applications when necessary.
        \li QImage: Added 8-bit alpha map and grayscale formats.
    \endlist

    \section2 Qt Multimedia Module
    \list
        \li Added GStreamer 1.0 support. Note that the default is still 0.10. Version
            1.0 support can be enabled by configuring Qt with \c {-gstreamer 1.0}.
        \li Added a new video filtering framework to integrate frameworks like OpenCV
            or compute APIs such as OpenCL or CUDA with VideoOutput elements.
        \li Added a new API to control camera viewfinder settings.
        \li Improved camera support on iOS (focus, zoom, exposure, image and
            viewfinder settings).
        \li The QML MediaPlayer is now rendered in an OpenGL texture on iOS. This
            means VideoOutput supports advanced transformation and shader effects,
            and doesn't have to be always on top of other items anymore.
    \endlist

    \section2 Qt NFC Module
    \list
    \li Ported to \l{Qt for Linux/X11}{Linux} using Neard v0.14 or later.
    \endlist

    \section2 Qt Network Module
    \list
        \li Added a new SSL backend for iOS and OS X, based on Secure Transport.
        \li Added support for \e libproxy.
        \li Added support for TLS PSK ciphersuites.
        \li Added support for elliptic curve certificates.
        \li Added ability to select specific curves when using elliptic curve
            ciphersuites.
    \endlist

    \section2 Qt Platform Abstraction (QPA)
    \list
        \li Added support for Raspberry Pi 2.
        \li On supported desktops, the xcb plugin now uses the D-Bus based
            \c org.kde.StatusNotifier protocol for system tray icons, and
            \c org.freedesktop.Notifications for notifications.
        \li Added a KMS/DRM backend for EGLFS. This replaces the now deprecated
            KMS platform plugin. It allows running applications with eglfs on
            the console on systems with Mesa and devices that come with DRM
            support.
        \li Added a plugin-based backend mechanism for EGLFS, in addition to
            the existing, statically compiled-in solution. Most compiled-in
            hooks are converted to be dynamically loaded plugins that are built
            based on configure time tests. This reduces the reliance on the
            device makespecs for Raspberry Pi, i.MX6 and Mali-based devices.
        \li Input handling is now unified for EGLFS and LinuxFB, avoiding the
            need to launch and configure LinuxFB-based applications differently
            compared when using EGLFS.
        \li \e tslib is now better integrated with EGLFS and LinuxFB to provide
            support for resistive single-touch touchscreens often used in
            industrial environments.
        \li xcb is refactored to move GLX and EGL support into plugins.
        \li Added a TUIO Touch plugin for receiving remote touch events via UDP.
        \li Added a \e libinput plugin.
        \li iOS: Added support into QFileDialog for browsing system photos using a
            native image picker dialog. Selected photos can be loaded using QFile.
    \endlist

    \section2 Qt QML Module
    \list
        \li Added a possibility to conveniently expose custom C++ value types into
            the JavaScript environment of QML and QJSEngine.
        \li Added support for JavaScript typed arrays.
        \li Various performance improvements, notably QJSValue.
        \li Added a convenience qJsEngine(QObject*) getter function.
    \endlist

    \section2 Qt Quick Module
    \list
        \li Windows now defaults to the threaded Qt Quick render loop when using
            desktop OpenGL (\c opengl32.dll).
        \li Added support for threaded rendering in QQuickRenderControl.
        \li Improved behavior of \l [QML] {Flickable} on OS X trackpads using
            pixel deltas from native gestures.
        \li Added support for PinchArea to handle native pinch gestures when the
            OS provides them (so far, only on OS X).
        \li Added a smart zoom signal to PinchArea to react to that gesture on an
            OS X trackpad.
        \li Added a \l {QtQuick::MouseArea::}{scrollGestureEnabled} property to
            MouseArea to control whether native scroll gestures from the OS will
            be handled by the wheel signal handler.
    \endlist

    \section2 Qt Quick Controls Module
    \list
        \li \l [QtQuickExtras]{Qt Quick Extras}, formerly Qt Quick Enterprise
            Controls, was added under the QtQuick.Extras import.
        \li Added a TreeView control for QAbstractItemModel-derived models.
            Supports QItemSelectionModel selection.
    \endlist

    \section2 Qt WebEngine Module
    \list
        \li Added WebEngineProfile for controlling storage and cache paths and
            related policies.
        \li Added support for a JavaScript Geolocation API with \l[QtLocation]
            {Qt Location} as a backend.
        \li Added API for managing downloading of files.
        \li Added API for controlling cache and cookie paths and policy.
        \li Added API for WebEngine settings.
        \li Various experimental QML APIs promoted to public.
        \li Added QtWebChannel integration API over Chromium IPC.
        \li Updated Chromium snapshot to version 40.
    \endlist

    \section2 Qt WebView Module
    \list
        \li Added native implementations for OS X.
        \li Added API for running JavaScript (Requires API 19+ on Android).
        \li Added API for setting the HTML content.
        \li Added API for load status notifications.
    \endlist

    \section1 Deprecated Functionality

    The following modules are deprecated in Qt 5.5:
    \list
        \li Qt WebKit
        \li Qt Declarative (Qt Quick 1)
        \li Qt Script
    \endlist

    These modules are still included in Qt 5.5, 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.5:
    \list
    \li \l{New Classes and Functions in Qt 5.5}
    \li \l{Obsolete Classes}
    \endlist

    \section1 Additions to Other Qt 5 Releases

    \list
    \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 newclasses55.html
    \title New Classes and Functions in Qt 5.5
    \brief A list of new APIs in Qt 5.5.

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

    \sincelist 5.5

    \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.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
*/