New Features in Qt 5.2: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category:Developing_with_Qt::Qt 5]]<br />[toc align_right=&quot;yes&amp;quot;]
[[Category:Developing_with_Qt::Qt 5]]
 
[[Category:Release]]
= What is new in Qt 5.2 =
= What is new in Qt 5.2 =


Qt 5.2 was released on 12th of December.
Qt 5.2 was released on 12th of December.


The following pages has more information:<br />* &quot;Qt 5.2 Release Announcement&amp;quot;:http://blog.qt.io/blog/2013/12/12/qt-5-2-released-the-best-qt-yet/<br />* &quot;Qt 5.2 Features&amp;quot;:/qt5/qt52<br />* &quot;Qt 5.2 Documentation&amp;quot;:/doc
The following pages has more information:
* [http://blog.qt.io/blog/2013/12/12/qt-5-2-released-the-best-qt-yet/ Qt 5.2 Release Announcement]
* "Qt 5.2 Features":/qt5/qt52
* "Qt 5.2 Documentation":/doc


== New Features ==
== New Features ==


* &quot;Qt Core&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtcore-index.html
* [http://doc.qt.io/qt-5.6/qtcore-index.html Qt Core]
** Added class QCommandLineParser for command-line arguments parsing
** Added class QCommandLineParser for command-line arguments parsing
** Added new overload to QObject::connect() to add a context object when connecting to a lambda  
** Added new overload to QObject::connect() to add a context object when connecting to a lambda  
Line 20: Line 23:
** Added iteration capability to containers in QVariant
** Added iteration capability to containers in QVariant
** Added dereferencing to QObject for smart pointers in QVariant
** Added dereferencing to QObject for smart pointers in QVariant
* &quot;Qt GUI&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtgui-index.html
* [http://doc.qt.io/qt-5.6/qtgui-index.html Qt GUI]
** Added applicationState() function and applicationStateChanged() signal to QGuiApplication.
** Added applicationState() function and applicationStateChanged() signal to QGuiApplication.
** Added QOpenGLTexture class.
** Added QOpenGLTexture class.
** Added endian-neutral RGBA8888 formats to QImage.
** Added endian-neutral RGBA8888 formats to QImage.
* &quot;Qt Widgets&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtwidgets-index.html
* [http://doc.qt.io/qt-5.6/qtwidgets-index.html Qt Widgets]
** Added support for embedded clear button commonly used for item view filtering and side actions to QLineEdit
** Added support for embedded clear button commonly used for item view filtering and side actions to QLineEdit
** Added methods based on QUrl to QFileDialog
** Added methods based on QUrl to QFileDialog
Line 40: Line 43:
** Added retainSizeWhenHidden to QSizePolicy
** Added retainSizeWhenHidden to QSizePolicy
** Added resizeContentsPrecision to QHeaderView
** Added resizeContentsPrecision to QHeaderView
* &quot;Qt Print Support&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtprintsupport-index.html
* [http://doc.qt.io/qt-5.6/qtprintsupport-index.html Qt Print Support]
** Added support to QPrintDialog for advanced CUPS features on Linux, including server-side page range selection, odd/even page selection, pages-per-sheet, job scheduling, and banner pages.
** Added support to QPrintDialog for advanced CUPS features on Linux, including server-side page range selection, odd/even page selection, pages-per-sheet, job scheduling, and banner pages.
* &quot;Qt QML&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtqml-index.html
* [http://doc.qt.io/qt-5.6/qtqml-index.html Qt QML]
** New property on Qt.application: state.
** New property on Qt.application: state.
** Can now define QML singletons with QML Files
** Can now define QML singletons with QML Files
Line 48: Line 51:
** qml binary runtime provides a supported method for launching QML-only applications
** qml binary runtime provides a supported method for launching QML-only applications
** New V4 JS engine
** New V4 JS engine
* &quot;Qt Quick&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtquick-index.html
* [http://doc.qt.io/qt-5.6/qtquick-index.html Qt Quick]
** New Scenegraph Renderer, for improved performance
** New Scenegraph Renderer, for improved performance
** Texture atlas support in SceneGraph
** Texture atlas support in SceneGraph
Line 55: Line 58:
** Support for external Drag and Drop
** Support for external Drag and Drop
** Threaded render loop now uses one non-sharing OpenGL per window.
** Threaded render loop now uses one non-sharing OpenGL per window.
* &quot;Qt Quick Controls&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtquickcontrols-index.html
* [http://doc.qt.io/qt-5.6/qtquickcontrols-index.html Qt Quick Controls]
** Added support for editable combo box
** Added support for editable combo box
** Added support for multi selection in TableView
** Added support for multi selection in TableView
Line 62: Line 65:
** Added BusyIndicator type
** Added BusyIndicator type
** Simplified deployment  
** Simplified deployment  
* &quot;Qt Quick Dialogs&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtquickdialogs-index.html
* [http://doc.qt.io/qt-5.6/qtquickdialogs-index.html Qt Quick Dialogs]
** New FontDialog
** New FontDialog
* &quot;Qt Quick Layouts&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtquicklayouts-index.html
* [http://doc.qt.io/qt-5.6/qtquicklayouts-index.html Qt Quick Layouts]
** Added baseline support to layout
** Added baseline support to layout
* &quot;Qt Network&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtnetwork-index.html
* [http://doc.qt.io/qt-5.6/qtnetwork-index.html Qt Network]
** QNetworkAccessManager: add public methods to pre-TCP/pre-SSL-connect
** QNetworkAccessManager: add public methods to pre-TCP/pre-SSL-connect
** QSslConfiguration: add API to persist and resume SSL sessions
** QSslConfiguration: add API to persist and resume SSL sessions
** SSL code: allow for debugging SSL traffic with Wireshark / tcpdump
** SSL code: allow for debugging SSL traffic with Wireshark / tcpdump
** QNetworkConfiguration: add public member bearerTypeFamily()
** QNetworkConfiguration: add public member bearerTypeFamily()
* &quot;moc&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/moc.html
* [http://doc.qt.io/qt-5.6/moc.html moc]
** added -M argument to add plugin metadata from the command line
** added -M argument to add plugin metadata from the command line
* &quot;Accessibility&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/accessible.html
* [http://doc.qt.io/qt-5.6/accessible.html Accessibility]
** Enabled accessibility on Mac
** Enabled accessibility on Mac
** Made the APIs public so that it is possible to implement accessibility for custom widgets
** Made the APIs public so that it is possible to implement accessibility for custom widgets
Line 90: Line 93:
== New Modules ==
== New Modules ==


* &quot;Qt Bluetooth&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtbluetooth-index.html
* [http://doc.qt.io/qt-5.6/qtbluetooth-index.html Qt Bluetooth]
** Supported platforms: Linux/Bluez 4.x, BlackBerry
** Supported platforms: Linux/Bluez 4.x, BlackBerry
* &quot;Qt NFC&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtnfc-index.html
* [http://doc.qt.io/qt-5.6/qtnfc-index.html Qt NFC]
** Supported platforms: BlackBerry
** Supported platforms: BlackBerry
* &quot;Qt Positioning&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtpositioning-index.html
* [http://doc.qt.io/qt-5.6/qtpositioning-index.html Qt Positioning]
** Supported platforms: All platform/NMEA, Linux/GeoClue
** Supported platforms: All platform/NMEA, Linux/GeoClue
* &quot;Qt Windows Extras&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtwinextras-index.html
* [http://doc.qt.io/qt-5.6/qtwinextras-index.html Qt Windows Extras]
* &quot;Qt Mac Extras&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtmacextras-index.html
* [http://doc.qt.io/qt-5.6/qtmacextras-index.html Qt Mac Extras]
* &quot;Qt Android Extras&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/qtandroidextras-index.html
* [http://doc.qt.io/qt-5.6/qtandroidextras-index.html Qt Android Extras]


== Support for New Platforms ==
== Support for New Platforms ==


* &quot;Android&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/android-support.html
* [http://doc.qt.io/qt-5.6/android-support.html Android]
** Full support for camera and recording
** Full support for camera and recording
** Low-latency audio (QAudioInput, QAudioOutput, QSoundEffect)
** Low-latency audio (QAudioInput, QAudioOutput, QSoundEffect)
Line 108: Line 111:
** JNI convenience API
** JNI convenience API
** OpenSSL support
** OpenSSL support
* &quot;iOS&amp;quot;:http://doc-snapshot.qt.io/qt5-stable/ios-support.html
* [http://doc.qt.io/qt-5.6/ios-support.html iOS]
** Media player support
** Media player support
** Basic camera support (only viewfinder and image capture)
** Basic camera support (only viewfinder and image capture)
Line 133: Line 136:


== Deprecated ==
== Deprecated ==
* [https://doc-snapshots.qt.io/4.8/qtquick.html Qt Quick 1]
{{Release Information}}

Latest revision as of 05:37, 18 February 2017

What is new in Qt 5.2

Qt 5.2 was released on 12th of December.

The following pages has more information:

New Features

  • Qt Core
    • Added class QCommandLineParser for command-line arguments parsing
    • Added new overload to QObject::connect() to add a context object when connecting to a lambda
    • Added new QStringRef methods; left, right, mid
    • Added QLoggingCategory/qCDebug, qCWarning, … macros to configure what gets logged at runtime
    • Added class QTimeZone to support time zones using IANA (Olson) time zone IDs
    • Added support to QDateTime for new Qt::TimeSpec of Qt::TimeZone and Qt::OffsetFromUTC
    • Added new class QCollator to provide advanced platform-based collation.
    • Added more I/O redirection possibilities to QProcess
    • Added iteration capability to containers in QVariant
    • Added dereferencing to QObject for smart pointers in QVariant
  • Qt GUI
    • Added applicationState() function and applicationStateChanged() signal to QGuiApplication.
    • Added QOpenGLTexture class.
    • Added endian-neutral RGBA8888 formats to QImage.
  • Qt Widgets
    • Added support for embedded clear button commonly used for item view filtering and side actions to QLineEdit
    • Added methods based on QUrl to QFileDialog
    • Added new QKeySequenceEdit class
    • Restore session-management support from Qt4
    • Restore basic startup-notification support on Unix
    • Added placeholderText property to QTextEdit
    • Added getMultiLineText static method to QInputDialog
    • Added tabBarClicked and tabBarDoubleClicked signals to QTabBar
    • Added replaceWidget in QLayout
    • Added an option to have a checkbox in QMessageBox
    • Added duration control on tooltips (e.g QWidget::setToolTipDuration)
    • Added substring support to QCompleter
    • Added buttonToggled signals to QButtonGroup
    • Added retainSizeWhenHidden to QSizePolicy
    • Added resizeContentsPrecision to QHeaderView
  • Qt Print Support
    • Added support to QPrintDialog for advanced CUPS features on Linux, including server-side page range selection, odd/even page selection, pages-per-sheet, job scheduling, and banner pages.
  • Qt QML
    • New property on Qt.application: state.
    • Can now define QML singletons with QML Files
    • Can apply file selectors to support certain styles of cross-platform development
    • qml binary runtime provides a supported method for launching QML-only applications
    • New V4 JS engine
  • Qt Quick
    • New Scenegraph Renderer, for improved performance
    • Texture atlas support in SceneGraph
    • SceneGraph now supports rendering to an OpenGL Core profile
    • New animation types, called Animator, which can run animations on the the scene graph's render thread.
    • Support for external Drag and Drop
    • Threaded render loop now uses one non-sharing OpenGL per window.
  • Qt Quick Controls
    • Added support for editable combo box
    • Added support for multi selection in TableView
    • Added support for setting columns movable in TableView
    • Added Switch type
    • Added BusyIndicator type
    • Simplified deployment
  • Qt Quick Dialogs
    • New FontDialog
  • Qt Quick Layouts
    • Added baseline support to layout
  • Qt Network
    • QNetworkAccessManager: add public methods to pre-TCP/pre-SSL-connect
    • QSslConfiguration: add API to persist and resume SSL sessions
    • SSL code: allow for debugging SSL traffic with Wireshark / tcpdump
    • QNetworkConfiguration: add public member bearerTypeFamily()
  • moc
    • added -M argument to add plugin metadata from the command line
  • Accessibility
    • Enabled accessibility on Mac
    • Made the APIs public so that it is possible to implement accessibility for custom widgets
    • Basic accessibility support for Android
  • Qt WebKit
    • CSS blending
    • Context menus for HTML5 video
    • Canvas Path object
    • GeoLocation (with QtPositioning)
    • Web Notifications
    • Page Visibility API
    • Threaded garbage collection
  • Translations
    • Translation to Italian now available

New Modules

Support for New Platforms

  • Android
    • Full support for camera and recording
    • Low-latency audio (QAudioInput, QAudioOutput, QSoundEffect)
    • Command-line deployment tool
    • JNI convenience API
    • OpenSSL support
  • iOS
    • Media player support
    • Basic camera support (only viewfinder and image capture)
    • Low-latency audio (QAudioInput, QAudioOutput, QSoundEffect)

Qt Creator

  • Qt Creator 3.0
    • Initial iOS support
    • Multi-Screen extensions
    • API Cleanup
    • Enhanced Android support
    • Initial debugging backend for lldb (Mac)
    • Refactored and extended BlackBerry 10 support

Installation

  • New reference installers
    • Qt for Android (Mac)
    • Qt for iOS (Mac)
  • New target binaries
    • Qt for Android arm5(Windows, linux, Mac)

Deprecated

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