What's New in Qt 5.15
- Improved profiling and troubleshooting support.
- QSortPolicy: introduced a uniform mode to control whether uniform minification needs to be performed or not.
- QMouseDevice: introduced a updateAxesContinuously property.
- Isolated the OpenGL renderer as a plugin.
- Introduced QFile::moveToTrash() to provide a cross-platform API for moving files to the trash/recycling bin on Windows, macOS, and Linux desktops. This implements the freedesktop.org specification.
- Introduced QFileInfo::isJunction() to detect whether a file system entry is a Windows NTFS junction.
- QRunnable instances can now be created from
std::functionwithout having to subclass QRunnable.
- QThreadPool::start() and tryStart() can now take
std::functionand thereby also anonymous lambda functions as arguments.
- Added static template QDebug::toString() function, which streams the given object into a QDebug instance that operates on a string, and then returns that string. This is useful for cases where you need the textual representation of an object for debugging, but cannot use
operator<<, such as when passing a failure message to QVERIFY2().
- QColorSpace setters can now operate on invalid color spaces, making it possible to set primaries and transfer function independently.
- Implemented multi-threading support for many QImage scaling and conversion methods.
- Deprecated all plugin APIs.
- Deprecated QMediaService and QMediaControl.
- Introduced reverse playback for GStreamer.
- Introduced rendering to multiple surfaces.
- Introduced QVideoWidget::videoSurface(), QGraphicsVideoItem::videoSurface(), and QDeclarativeVideoOutput::videoSurface().
- MediaPlayer QML type: Introduced a videoOutput property.
- Introduced QVideoFrame::image().
- GStreamer camerabin: React to changes in
- OpenSSL backend: Added support for a new session ticket mechanism introduced by the TLS 1.3 protocol.
- Implemented timeouts for downloads and uploads with QNetworkRequest and QNetworkAccessManager.
- Increased the minimum supported version of OpenSSL to 1.1.
- Introduced inline components; multiple QML components can be declared in the same file.
- Introduced required properties.
- Added a declarative way of registering types to QML.
- qmllint now has a better understanding of the code and warns about deprecated QML features.
- Added the qmlformat tool to automatically format any QML file according to the QML Coding Conventions.
- Added support for the Nullish Coalescing Operator.
- Added a
colorspaceproperty on image nodes, making it possible to read color spaces and transform images into a specific color space.
- Added a PathText type which can be used together with Qt Quick Shapes to render text as geometry, without relying on distance fields or pre-rendered textures. This is useful for rendering large font sizes which would otherwise consume a lot of texture memory.
- Added a Image.sourceClipRect property to request the image plugin to render a portion of an image source.
- Added a
cursorShapeproperty to pointer handlers. Most pointer handlers (for example DragHandler) will change the cursor when in active state. HoverHandler will change the cursor when the mouse is hovering over the Item that contains the handler.
- Added support for Metal on iOS for the opt-in preview of the Graphics API Independent Rendering Architecture.
- Added HorizontalHeaderView and VerticalHeaderView to display header data in a TableView, with support for flicking synchronization and multiple styles: default, fusion, imagine, material, and universal.
- Added a selectTextByMouse property to ComboBox.
- Updated to Chromium 80.
- Switched to use a sandboxed network service.
- Introduced a new API for reading the subprocess ID of a page or a view.
- Introduced a WebEngineHistory.clear() method.
- QDoc can now generate DocBook.
- QDoc now generates output for C++ class and function template parameters.
- QDoc now generates correct output for scoped enums (enum classes).
- Introduced the use of Android's native file dialog by default for open (file, multiple files, directory) and save operations.
- Introduced experimental support for Vulkan on the client side.
Embedded Linux (eglfs)
eglfs_vivbackend: Added support for Vulkan, via VK_KHR_display, on NXP i.MX8 based devices.
Qt Quick 3D
- Introduced post-processing effects.
- Introduced a custom geometry API (C++ meshes).
- Introduced Quaternions API for Node rotations.
- Switched to use a right-handed coordinate system (previously right or left).
- Improved support for Qt Quick 2D in 3D scenes.
- Added support for spot lights.
- Performance improvements.
- Introduced a Bodymovin JSON renderer for Adobe After Effects animations.
- Performance and stability improvements.
- Based on a version of Pdfium that is shared with Qt WebEngine.
- Available on the same platforms as Qt WebEngine, and also on iOS.
To help preparing for the transition to Qt 6, numerous classes and member functions that will be removed from Qt 6.0 have been marked as deprecated in the Qt 5.15 release. Unless you define QT_NO_DEPRECATED_WARNINGS in your project, you will get compiler warnings for code that uses any deprecated APIs. Those warnings will explain which API to use instead. To disable any deprecated APIs completely, use the QT_DISABLE_DEPRECATED_BEFORE macro.
The following modules are part of Qt 5.15 release, but are deprecated and considered for removal in subsequent releases of Qt:
- Qt Script
- Qt Quick Controls 1
- Qt XML Patterns
The pages below contain a list of API changes in Qt 5.15:
- What's New in Qt 5.14
- What's New in Qt 5.13
- What's New in Qt 5.12
- What's New in Qt 5.11
- What's New in Qt 5.10
- What's New in Qt 5.9
- What's New in Qt 5.8
- What's New in Qt 5.7
- What's New in Qt 5.6
- What's New in Qt 5.5
- What's New in Qt 5.4
- What's New in Qt 5.3
- What's New in Qt 5.2
- What's New in Qt 5.1
- What's New in Qt 5.0
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.