New Features in Qt 5.1: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Convert ExpressionEngine links)
m (Add to category Release)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
[[Category:Developing_with_Qt::Qt 5]]
[[Category:Developing_with_Qt::Qt 5]]
[toc align_right="yes"]
[[Category:Release]]
 
= New Features in Qt 5.1 =
= New Features in Qt 5.1 =


Line 35: Line 32:
'''Essential Modules'''
'''Essential Modules'''
* moc
* moc
'''''' New keyword in Q_PROPERTY: MEMBER let you bind a property to a class member without requiring to have a getter or a setter.
** New keyword in Q_PROPERTY: MEMBER let you bind a property to a class member without requiring to have a getter or a setter.
* qmake
* qmake
'''''' Windows: Added support for specifying application icon (via RC_ICONS).
** Windows: Added support for specifying application icon (via RC_ICONS).
* Qt Core
* Qt Core
'''''' Add support for SHA3 to QCryptographicHash.
** Add support for SHA3 to QCryptographicHash.
'''''' A new class QMessageAuthenticationCode offering support for HMAC.
** A new class QMessageAuthenticationCode offering support for HMAC.
'''''' Added toInt(), toUInt(), etc… functions to QStringRef.
** Added toInt(), toUInt(), etc… functions to QStringRef.
'''''' Threadsafe initialization of global statics trough refactored Q_GLOBAL_STATIC.
** Threadsafe initialization of global statics trough refactored Q_GLOBAL_STATIC.
'''''' New class QLockFile that provides locking between processes, using a file. This enables applications to check that there is only one instance of it running.
** New class QLockFile that provides locking between processes, using a file. This enables applications to check that there is only one instance of it running.
'''''' New class QSaveFile that provides transaction like file writing. Ensures that nothing or everything you asked for is written.
** New class QSaveFile that provides transaction like file writing. Ensures that nothing or everything you asked for is written.
* Qt GUI
* Qt GUI
'''''' Support for embedding and reparenting of windows created from other processes, via QWindow::fromWinId(); (implemented in the X11 backend only, using the XEmbed protocol).
** Support for embedding and reparenting of windows created from other processes, via QWindow::fromWinId(); (implemented in the X11 backend only, using the XEmbed protocol).
'''''' QWidget::createWindowContainer() adds the capability to embed QWindow instances, such as QQuickView or a QWindow using QOpenGLContext, into a QWidget hierarchy.
** QWidget::createWindowContainer() adds the capability to embed QWindow instances, such as QQuickView or a QWindow using QOpenGLContext, into a QWidget hierarchy.
'''''' Support for kerning advances in QRawFont::advancesForGlyphIndexes.
** Support for kerning advances in QRawFont::advancesForGlyphIndexes.
'''''' QImageReader and QImageWriter adds the ability to report supported MimeTypes.
** QImageReader and QImageWriter adds the ability to report supported MimeTypes.
'''''' New input method plugin QComposeInputContext.
** New input method plugin QComposeInputContext.
'''''' New GTK+ 2.x platformtheme plugin that provides native file, font and color dialogs.
** New GTK+ 2.x platformtheme plugin that provides native file, font and color dialogs.
'''''' QOpenGLContext::versionFunctions() provides access to all OpenGL functions.
** QOpenGLContext::versionFunctions() provides access to all OpenGL functions.
'''''' New QOpenGLTimerQuery and QOpenGLTimeMonitor classes.
** New QOpenGLTimerQuery and QOpenGLTimeMonitor classes.
'''''' New QOpenGLDebugLogger class expose KHR_debug extension for easy debugging.
** New QOpenGLDebugLogger class expose KHR_debug extension for easy debugging.
'''''' Added support for Geometry, Tessellation Control, Tessellation Evaluation and Compute shaders to QOpenGLShader and QOpenGLShaderProgram.
** Added support for Geometry, Tessellation Control, Tessellation Evaluation and Compute shaders to QOpenGLShader and QOpenGLShaderProgram.
'''''' New QOpenGLVertexArrayObject class.
** New QOpenGLVertexArrayObject class.
* Qt Multimedia
* Qt Multimedia
* Qt Multimedia Widgets
* Qt Multimedia Widgets
* Qt Network
* Qt Network
'''''' Add a new encrypted() signal to QNetworkAccessManager and QNetworkReply so that applications can perform additional checks on the certificate chain.
** Add a new encrypted() signal to QNetworkAccessManager and QNetworkReply so that applications can perform additional checks on the certificate chain.
'''''' Support for sending intermediate certificates when QSslSocket is used as a server, and when using client certificates.
** Support for sending intermediate certificates when QSslSocket is used as a server, and when using client certificates.
'''''' Support for SSL session re-use allowing much faster connections to servers.
** Support for SSL session re-use allowing much faster connections to servers.
* Qt QML
* Qt QML
'''''' New QQmlApplicationEngine convenience class for QML applications.
** New QQmlApplicationEngine convenience class for QML applications.
'''''' New Instantiator type for generic, dynamic object creation
** New Instantiator type for generic, dynamic object creation
'''''' New QtQml.Models module containing ListElement, ListModel, DelegateModel, DelegateModelGroup and ObjectModel. These are all types which were previously in QtQuick (some have changed names) and the types are still available in the QtQuick module by the old names for compatibility.
** New QtQml.Models module containing ListElement, ListModel, DelegateModel, DelegateModelGroup and ObjectModel. These are all types which were previously in QtQuick (some have changed names) and the types are still available in the QtQuick module by the old names for compatibility.
'''''' New properties on Qt.application: arguments, name, version.
** New properties on Qt.application: arguments, name, version.
* Qt Quick
* Qt Quick
'''''' New threaded render loop for Mac, Linux and Embedded.
** New threaded render loop for Mac, Linux and Embedded.
'''''' New render loop for windows providing velvet animations.
** New render loop for windows providing velvet animations.
'''''' New QtQuick.Dialogs module with FileDialog and ColorDialog types
** New QtQuick.Dialogs module with FileDialog and ColorDialog types
'''''' New Window properties: activeFocusItem, minimumWidth, minimumHeight, maximumWidth, maximumHeight, visibility, contentOrientation, opacity
** New Window properties: activeFocusItem, minimumWidth, minimumHeight, maximumWidth, maximumHeight, visibility, contentOrientation, opacity
'''''' New Item property: activeFocusOnTab
** New Item property: activeFocusOnTab
'''''' New Grid properties: horizontalAlignment, verticalAlignment, effectiveHorizontalAlignment
** New Grid properties: horizontalAlignment, verticalAlignment, effectiveHorizontalAlignment
'''''' New TextEdit properties: selectByKeyboard, textDocument
** New TextEdit properties: selectByKeyboard, textDocument
'''''' A Window declared inside another Window or Item will automatically be transient for (centered upon) the outer window
** A Window declared inside another Window or Item will automatically be transient for (centered upon) the outer window
* Qt Quick Controls
* Qt Quick Controls
'''''' see section at top of page ("New Modules")
** see section at top of page ("New Modules")
* Qt Quick Layouts
* Qt Quick Layouts
'''''' see section at top of page ("New Modules")
** see section at top of page ("New Modules")
* Qt SQL
* Qt SQL
* Qt Test
* Qt Test
* Qt WebKit
* Qt WebKit
'''''' JavaScript JIT on Windows 64 bit.
** JavaScript JIT on Windows 64 bit.
'''''' Improved JavaScript performance on MIPS architecture (JIT DFG and LLInt).
** Improved JavaScript performance on MIPS architecture (JIT DFG and LLInt).
'''''' Improved font rendering, kerning enabled by default.
** Improved font rendering, kerning enabled by default.
'''''' Improved garbage collection.
** Improved garbage collection.
'''''' Improved support for Flash on Mac.
** Improved support for Flash on Mac.
'''''' Improved support for JavaScript requestAnimationFrame callback.
** Improved support for JavaScript requestAnimationFrame callback.
'''''' Support for WOFF fonts.
** Support for WOFF fonts.
'''''' Support for GStreamer 1.0.
** Support for GStreamer 1.0.
'''''' Improved perceived page load performance and support for Link prefetch
** Improved perceived page load performance and support for Link prefetch
* Qt WebKit Widgets
* Qt WebKit Widgets
* Qt Widgets
* Qt Widgets
'''''' QMenu: [QTBUG-13663, QTBUG-2362] Added property toolTipsVisible.
** QMenu: [QTBUG-13663, QTBUG-2362] Added property toolTipsVisible.


'''Add-On Modules'''
'''Add-On Modules'''
Line 146: Line 143:


* Support for Static Qt builds
* Support for Static Qt builds
* Perl build dependency removed (qtwebkit still has the perl dependency)
{{Release Information}}

Latest revision as of 12:10, 22 November 2016

New Features in Qt 5.1

This is a list of new features slated to ship in Qt 5.1 release.

See also "Qt 5 Features":Qt-5Features.

New Modules

  • "Qt Quick Controls":QtDesktopComponents (formerly known as Desktop Components)
  • Qt Quick Layouts
    • Provides layouts for Qt Quick.
  • Qt Quick Dialogs
    • Provides dialogs for Qt Quick.
  • Qt X11 Extras
    • Platform specific components / APIs for X11.
  • Qt Sensors
    • Provides access to sensor hardware and motion gesture recognition both via QML and C++ interfaces.
    • Supports Android, BlackBerry, iOS and Mer platforms.
  • "Qt Serial Port":QtSerialPort
    • Provides an interface for hardware and virtual serial ports.

The full list of modules in Qt 5.1 is therefore as follows:

Essential Modules

  • moc
    • New keyword in Q_PROPERTY: MEMBER let you bind a property to a class member without requiring to have a getter or a setter.
  • qmake
    • Windows: Added support for specifying application icon (via RC_ICONS).
  • Qt Core
    • Add support for SHA3 to QCryptographicHash.
    • A new class QMessageAuthenticationCode offering support for HMAC.
    • Added toInt(), toUInt(), etc… functions to QStringRef.
    • Threadsafe initialization of global statics trough refactored Q_GLOBAL_STATIC.
    • New class QLockFile that provides locking between processes, using a file. This enables applications to check that there is only one instance of it running.
    • New class QSaveFile that provides transaction like file writing. Ensures that nothing or everything you asked for is written.
  • Qt GUI
    • Support for embedding and reparenting of windows created from other processes, via QWindow::fromWinId(); (implemented in the X11 backend only, using the XEmbed protocol).
    • QWidget::createWindowContainer() adds the capability to embed QWindow instances, such as QQuickView or a QWindow using QOpenGLContext, into a QWidget hierarchy.
    • Support for kerning advances in QRawFont::advancesForGlyphIndexes.
    • QImageReader and QImageWriter adds the ability to report supported MimeTypes.
    • New input method plugin QComposeInputContext.
    • New GTK+ 2.x platformtheme plugin that provides native file, font and color dialogs.
    • QOpenGLContext::versionFunctions() provides access to all OpenGL functions.
    • New QOpenGLTimerQuery and QOpenGLTimeMonitor classes.
    • New QOpenGLDebugLogger class expose KHR_debug extension for easy debugging.
    • Added support for Geometry, Tessellation Control, Tessellation Evaluation and Compute shaders to QOpenGLShader and QOpenGLShaderProgram.
    • New QOpenGLVertexArrayObject class.
  • Qt Multimedia
  • Qt Multimedia Widgets
  • Qt Network
    • Add a new encrypted() signal to QNetworkAccessManager and QNetworkReply so that applications can perform additional checks on the certificate chain.
    • Support for sending intermediate certificates when QSslSocket is used as a server, and when using client certificates.
    • Support for SSL session re-use allowing much faster connections to servers.
  • Qt QML
    • New QQmlApplicationEngine convenience class for QML applications.
    • New Instantiator type for generic, dynamic object creation
    • New QtQml.Models module containing ListElement, ListModel, DelegateModel, DelegateModelGroup and ObjectModel. These are all types which were previously in QtQuick (some have changed names) and the types are still available in the QtQuick module by the old names for compatibility.
    • New properties on Qt.application: arguments, name, version.
  • Qt Quick
    • New threaded render loop for Mac, Linux and Embedded.
    • New render loop for windows providing velvet animations.
    • New QtQuick.Dialogs module with FileDialog and ColorDialog types
    • New Window properties: activeFocusItem, minimumWidth, minimumHeight, maximumWidth, maximumHeight, visibility, contentOrientation, opacity
    • New Item property: activeFocusOnTab
    • New Grid properties: horizontalAlignment, verticalAlignment, effectiveHorizontalAlignment
    • New TextEdit properties: selectByKeyboard, textDocument
    • A Window declared inside another Window or Item will automatically be transient for (centered upon) the outer window
  • Qt Quick Controls
    • see section at top of page ("New Modules")
  • Qt Quick Layouts
    • see section at top of page ("New Modules")
  • Qt SQL
  • Qt Test
  • Qt WebKit
    • JavaScript JIT on Windows 64 bit.
    • Improved JavaScript performance on MIPS architecture (JIT DFG and LLInt).
    • Improved font rendering, kerning enabled by default.
    • Improved garbage collection.
    • Improved support for Flash on Mac.
    • Improved support for JavaScript requestAnimationFrame callback.
    • Support for WOFF fonts.
    • Support for GStreamer 1.0.
    • Improved perceived page load performance and support for Link prefetch
  • Qt WebKit Widgets
  • Qt Widgets
    • QMenu: [QTBUG-13663, QTBUG-2362] Added property toolTipsVisible.

Add-On Modules

  • Active Qt
  • Qt Concurrent
  • Qt D-Bus
  • Qt Declarative
  • Qt Graphical Effects
  • Qt Image Formats
  • Qt OpenGL
  • Qt Print Support
  • Qt Script
  • Qt Script Tools
  • Qt Sensors
  • Qt Serial Port
  • Qt SVG
  • Qt X11 Extras
  • Qt XML
  • Qt XML Patterns

Support for New Platforms

Qt 5.1 introduces support for following new platforms with technology preview status:

  • Qt for Android (Technology Preview)
  • Qt for iOS (Technology Preview)

Qt 5.1 re-introduces support for Windows Embedded Compact 7 (as Tier 2 platform)

Qt Creator

Qt Creator 2.7 has been integrated in this Qt release with the most prominent new features:

  • Improved C++11 code editing support
  • Qt Quick Designer with full support for Qt Quick2
  • Android development target
  • Experimental QBS and Diff Integration

Installation

  • Online installer packages/repositories
  • New reference installers
    • Qt for Android (Windows, Linux 32bit and 64bit hosts)
    • MSVC2012 64bit OpenGL
    • MSVC2012 32bit ANGLE
  • MInGW version upgraded from 4.7 to 4.8

Other New Features

  • Support for Static Qt builds
  • Perl build dependency removed (qtwebkit still has the perl dependency)
Release Information [edit]
Qt Version Overview Tools and Versions New Features Changes Known Issues
Qt 6.8 Qt 6.8 Release Qt 6.8 Tools and Versions New Features in Qt 6.8 Qt 6.8.0 Release Note Qt 6.8 Known Issues
Qt 6.7 Qt 6.7 Release Qt 6.7 Tools and Versions New Features in Qt 6.7 Qt 6.7.0 Release Note

Qt 6.7.1 Release NoteQt 6.7.2 Release Note

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 ReleaseQt 6.6.3 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