New Features in Qt 5.11

From Qt Wiki
Jump to navigation Jump to search

New Features (within existing modules)

  • Qt Core
    • [QTBUG-52244] QIODevice::NewOnly and QIODevice::ExistingOnly OpenMode flags, which, when used with QFile, instruct open() to return false when the given file does (NewOnly) or does not (ExistingOnly) exist at the time of the call to open (atomically).
    • QFloat16 now has two methods for bulk conversion between float16 and float, using hardware SIMD acceleration if available at runtime.
    • QVarLengthArray now has rvalue reference versions of prepend and insert, and can hold movable-only datatypes such as std::unique_ptr.
    • QVector now has rvalue reference versions of prepend and insert.
    • QUuid toString() and toByteArray() can now take a parameter specifying the generated format.
    • Updated our Unicode support in QString, QChar and QTextBoundaryFinder to be compatible with Unicode 10.
    • Added QAbstractItemModel::checkIndex() to help testing the validity of model indices by concrete model classes.
  • Qt Network
    • ALPN (via Secure Transport) and thus HTTP/2 negotiation are now supported on iOS (starting from version 11)
    • QNetworkRequest now has the Http2DirectAttribute to start a connection in HTTP/2 without first negotiating.
  • Qt QML
    • Rewritten the compiler pipeline. We now directly generate byte code from the AST, and store that as our intermediate representation
    • Optimized handling of JS calls, bringing large improvements especially when calling small functions
    • Newly written byte code interpreter with a vastly improved performance (at 80-90% of the JIT in Qt 5.10)
    • .qmlc files are now fully platform independent and store byte code instead of assembly
    • New hotspot JIT that generated optimised assembly for byte code that gets repeatedly executed
    • CONFIG += qtquickcompiler now also works in the open source version, by embedding the generated byte code at compile time
  • Qt Quick
    • Expanded support for loading compressed textures in Image element. Now supports both .ktx and .pkm container file formats.
  • Qt Quick Controls 2
    • AbstractButton
      • Added autoRepeatDelay and autoRepeatInterval properties.
      • Promoted the autoRepeat property from Button to AbstractButton.
      • [QTBUG-62811] Added pressX and pressY properties to expose the press point to QML.
    • ButtonGroup
      • [QTBUG-56295][QTBUG-63782] Added a checkState property. It indicates the combined check state of the entire group.
    • CheckBox and CheckDelegate
      • [QTBUG-56295] No longer force tristate to true when setting checkState to Qt.PartiallyChecked. This allows presenting a partially checked state without being interactively tri-state.
      • [QTBUG-56295] No longer consider partially checked as checked. This fixes check state cycling for a non-tri-state checkbox so that it goes from partially checked to fully checked state.
      • [QTBUG-63238] Made it possible to implement nextCheckState() in QML.
    • ScrollBar and ScrollIndicator
      • [QTBUG-56557] Added minimumSize, visualSize, and visualPosition properties.
    • SpinBox
      • Added a displayText property to allow styles to create a light binding to display the textual value instead of having to call the textFromValue() JS-function.
  • Qt 3D
    • Improved performance with reduced CPU usage
    • Scrub through animations with the normalizedTime property of QAbstractClipAnimator.
    • Issue arbitrary ray casts in world space or screen space.
    • Improved SIMD support
  • Qt Location
    • Experimental turn-by-turn navigation API
    • Experimental QQuickItem-less map object support
    • Routing and Places API now extensible, and capable of returning service-specific information
    • New Waypoint element to specify additional waypoint information in route queries, such as angle of approach.
    • MapItemView now QQmlDelegateModel-based, fixing QTBUG-62086 and QTBUG-65833
    • Greatly improved MapPolyline performance
    • Layers now properly working in combination with Map Items, allowing anti-aliasing and artifact-less transparency
    • Geocoding and Places support added to the Mapbox plugin
  • Qt WebEngine
    • Updated to Chromium 65.
    • Embedded DevTools without using a port and separate browser.
    • Installable cookie filter.
    • Quota permissions.
  • qdoc
    • qdoc now uses libclang for parsing C/C++ code.
  • Qt Designer
    • Added support for ID-based translations ( QTBUG-34610 )
  • Qt GUI
    • On Windows Desktop, the accessibility support was updated and vastly improved. The implementation is now based on Microsoft UI Automation (it was formerly based on Microsoft Active Accessibility).
    • The widgets themes available on Windows Desktop were updated to better support High-DPI displays, including fixes for several rendering issues, providing improved appearance and functionality.
    • Linux Printing now supports more CUPS options with the advanced tab in QPrintPropertiesDialog (QTBUG-54464) allowing many additional settings (amongst them arbitrary page ranges QTBUG-1311).
    • Updated the Unicode bidirectional text algorithm to be compliant with Unicode 10.
  • Qt Widgets
    • Added quick text selection by mouse to QLineEdit.
  • Qt Serial Bus
    • Added J2534 Pass-Thru CAN plugin for communication between a computer and a vehicle
    • Added description, serial number and channel to QCanBusDeviceInfo, as far as supported by the various plugins.
    • Introduced categorized logging to the CAN bus module which can be enabled by the "qt.canbus" and "qt.canbus.plugins.<pluginname>" filters.
    • QCanBusFrame::isValid() now checks for invalid CAN FD payload lengths. E.g. 24 is  a valid CAN FD payload length, but 28 is not.
  • Qt Bluetooth
    • Ported Bluetooth Low Energy Central role implementation to BlueZ's DBus LE API (minimum version to enable is BlueZ 5.42)
  • Qt Test
    • Added QAbstractItemModelTester to help testing model classes.

New Modules

  • No new modules added

Platform Changes

  • Jira tracking for 5.11 changes
  • MSVC2013 support removed from the code base
  • QNX 6.6 no longer supported (note: QNX 7 remains fully supported)
  • macOS 10.10 no longer supported
  • Qt WebEngine on Windows now requires MSVC 2017 to compile
  • Improved Accessibility support on Win32 by adopting the Windows UI Automation framework
  • XCB
    • Support for missing 'dead keys' such as dasia and diaeresis.
  • eglfs
    • Added support for framebuffer formats other than XRGB8888 (RGB565, ARGB8888).
    • Added experimental screen cloning support (by scanning out the same framebuffer on multiple crtcs)
    • Added support for operating with DRM render nodes (/dev/dri/renderDnn) in a headless mode transparent to applications
    • Added a makespec for Renesas R-Car M3
    • Added experimental backend for compositing Qt content with other hardware layers via VSP2 on Renesas devices

Technology Preview Modules

  • Qt Remote Objects (TP3) - A module that allows you to easily share QObject interfaces (Signals/Slots/Properties) between processes or devices.
  • Qt WebGL Streaming Plugin (TP2) - Stream applications to browsers over the network

Deprecated Modules

The following modules are part of Qt 5.11 release, but deprecated and considered for removal in subsequent releases of Qt:

  • Qt Script
  • Qt Quick Controls 1

Configurations

Release Information [edit]
Qt Version Overview Tools and Versions New Features Changes Known Issues
Qt 6.7 Qt 6.7 Release Qt 6.7 Tools and Versions New Features in Qt 6.7 Qt 6.7 Known Issues
Qt 6.6 Qt 6.6 Release Qt 6.6 Tools and Versions New Features in Qt 6.6 Qt 6.6.0 Release NoteQt 6.6.1 Release NoteQt 6.6.2 Release Qt 6.6 Known Issues
Qt 6.5 Qt 6.5 Release Qt 6.5 Tools and Versions New Features in Qt 6.5 Qt 6.5.0 Release NoteQt 6.5.1 Release NoteQt 6.5.2 Release NoteQt 6.5.3 Release Note Qt 6.5 Known Issues
Qt 6.4 Qt 6.4 Release Qt 6.4 Tools and Versions New Features in Qt 6.4 Qt 6.4.0 Release NoteQt 6.4.1 Release NoteQt 6.4.2 Release NoteQt 6.4.3 Release Note Qt 6.4 Known Issues
Qt 6.3 Qt 6.3 Release Qt 6.3 Tools and Versions New Features in Qt 6.3 Qt 6.3.0 Release NoteQt 6.3.1 Release Note Qt 6.3 Known Issues
Qt 6.2 Qt 6.2 Release Qt 6.2 Tools and Versions New Features in Qt 6.2 Qt 6.2.0 Release NoteQt 6.2.1 Release NoteQt 6.2.2 Release Note Qt 6.2 Known Issues
Qt 6.1 Qt 6.1 Release Qt 6.1 Tools and Versions New Features in Qt 6.1 Qt 6.1.0 Release NoteQt 6.1.1 Release NoteQt 6.1.2 Release NoteQt 6.1.3 Release Note Qt 6.1.0 Known IssuesQt 6.1.1 Known issues in release noteQt 6.1.2 Known issues in release noteQt 6.1.3 Known issues in release note
Qt 6.0 Qt 6.0 Release Qt 6.0 Tools and Versions New Features in Qt 6.0 Qt 6.0.0 Change FilesQt 6.0.1 Release NoteQt 6.0.2 Release NoteQt 6.0.3 Release NoteQt 6.0.4 Release Note Qt 6.0.0 Known IssuesQt 6.0.1 Known IssuesQt 6.0.2 Known IssuesQt 6.0.3 Known IssuesQt 6.0.4 Known Issues
Qt 5.15 Qt 5.15 Release Qt 5.15 Tools and Versions New Features in Qt 5.15 Qt 5.15.0 Change FilesQt 5.15.1 Change FilesQt 5.15.2 Change Files Qt 5.15.0 Known IssuesQt 5.15.1 Known IssuesQt 5.15.2 Known IssuesQt 5.15.4 Known Issues
Qt 5.14 Qt 5.14 Release Qt 5.14 Tools and Versions New Features in Qt 5.14 Qt 5.14.0 Change FilesQt 5.14.1 Change FilesQt 5.14.2 Change Files Qt 5.14.0 Known IssuesQt 5.14.1 Known IssuesQt 5.14.2 Known Issues
Qt 5.13 Qt 5.13 Release Qt 5.13 Tools and Versions New Features in Qt 5.13 Qt 5.13.0 Change FilesQt 5.13.1 Change FilesQt 5.13.2 Change Files Qt 5.13.0 Known IssuesQt 5.13.1 Known IssuesQt 5.13.2 Known Issues
Qt 5.12 Qt 5.12 Release Qt 5.12 Tools and Versions New Features in Qt 5.12 Qt 5.12.0 Change FilesQt 5.12.1 Change FilesQt 5.12.2 Change FilesQt 5.12.3 Change FilesQt 5.12.4 Change FilesQt 5.12.5 Change FilesQt 5.12.6 Change FilesQt 5.12.7 Change FilesQt 5.12.8 Change FilesQt 5.12.9 Change FilesQt 5.12.10 Change FilesQt 5.12.11 Release NoteQt 5.12.12 Release Note Qt 5.12.0 Known IssuesQt 5.12.1 Known IssuesQt 5.12.2 Known IssuesQt 5.12.3 Known IssuesQt 5.12.4 Known IssuesQt 5.12.5 Known IssuesQt 5.12.6 Known IssuesQt 5.12.7 Known IssuesQt 5.12.8 Known IssuesQt 5.12.9 Known IssuesQt 5.12.10 Known IssuesQt 5.12.11 Known issues in release noteQt 5.12.12 Known issues in release note
Qt 5.11 Qt 5.11 Release Qt 5.11 Tools and Versions New Features in Qt 5.11 Qt 5.11.0Qt 5.11.1Qt 5.11.2 Change FilesQt 5.11.3 Change Files Qt 5.11.0Qt 5.11.1Qt 5.11.2 Known IssuesQt 5.11.3 Known Issues
Qt 5.10 Qt 5.10 Release Qt 5.10 Tools and Versions New Features in Qt 5.10 Qt 5.10.0Qt 5.10.1 Change Files Qt 5.10.0Qt 5.10.1 Known Issues
Qt 5.9 Qt 5.9 Release Qt 5.9 Tools and Versions New Features in Qt 5.9 Qt 5.9.0Qt 5.9.1Qt 5.9.2Qt 5.9.3Qt 5.9.4Qt 5.9.5Qt 5.9.6 Change FilesQt 5.9.7 Change FilesQt 5.9.8 Change FilesQt 5.9.9 Change Files Qt 5.9.0Qt 5.9.1Qt 5.9.2Qt 5.9.3Qt 5.9.4Qt 5.9.5Qt 5.9.6 Known IssuesQt 5.9.7 Known IssuesQt 5.9.8 Known IssuesQt 5.9.9 Known Issues
Qt 5.8 Qt 5.8 Release Qt 5.8 Tools and Versions New Features in Qt 5.8 Qt 5.8.0 Change Files Qt 5.8.0 Known Issues
Qt 5.7 Qt 5.7 Release Qt 5.7 Tools and Versions New Features in Qt 5.7 Qt 5.7.0Qt 5.7.1 Change Files Qt 5.7.0Qt 5.7.1 Known Issues
Qt 5.6 Qt 5.6 Release Qt 5.6 Tools and Versions New Features in Qt 5.6 Qt 5.6.0Qt 5.6.1Qt 5.6.2Qt 5.6.3 Change Files Qt 5.6.0Qt 5.6.1Qt 5.6.2Qt 5.6.3 Known Issues
Qt 5.5 Qt 5.5 Release Qt 5.5 Tools and Versions New Features in Qt 5.5 Qt 5.5.0Qt 5.5.1 Change Files Qt 5.5.0Qt 5.5.1 Known Issues
Qt 5.4 Qt 5.4 Release Qt 5.4 Tools and Versions New Features in Qt 5.4 Qt 5.4.0Qt 5.4.1Qt 5.4.2 Change Files Qt 5.4.0Qt 5.4.1Qt 5.4.2 Known Issues
Qt 5.3 Qt 5.3 Release Qt 5.3 Tools and Versions New Features in Qt 5.3 Qt 5.3.0Qt 5.3.1Qt 5.3.2 Change Files Qt 5.3.0 Beta 1Qt 5.3.0 RC 1
Qt 5.3.0Qt 5.3.1Qt 5.3.2 Known Issues
Qt 5.2 Qt 5.2 Release New Features in Qt 5.2 Qt 5.2.0Qt 5.2.1 Change Files Qt 5.2.0 Beta 1Qt 5.2.0 RC 1
Qt 5.2.0Qt 5.2.1 Known Issues
Qt 5.1 Qt 5.1 Release New Features in Qt 5.1 Qt 5.1.0 Change Files Qt 5.1.0 Beta 1Qt 5.1.0 RC 1
Qt 5.1.0Qt 5.1.1 Known Issues
Qt 5.0 Qt 5.0.0Qt 5.0.1 Release New Features in Qt 5.0 Qt 5.0 Changes Qt 5.0.0 Beta 1Qt 5.0.0 Beta 2Qt 5.0.0 RC 1Qt 5.0.0 RC 2
Qt 5.0.0Qt 5.0.1Qt 5.0.2 Known Issues