New Features in Qt 5.2: Difference between revisions
Jump to navigation
Jump to search
m (→Deprecated) |
No edit summary |
||
Line 15: | Line 15: | ||
== New Features == | == New Features == | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 26: | Line 26: | ||
** 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 | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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. | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 46: | Line 46: | ||
** Added retainSizeWhenHidden to QSizePolicy | ** Added retainSizeWhenHidden to QSizePolicy | ||
** Added resizeContentsPrecision to QHeaderView | ** Added resizeContentsPrecision to QHeaderView | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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. | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 54: | Line 54: | ||
** 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 | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 61: | Line 61: | ||
** 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. | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 68: | Line 68: | ||
** Added BusyIndicator type | ** Added BusyIndicator type | ||
** Simplified deployment | ** Simplified deployment | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtquickdialogs-index.html Qt Quick Dialogs] | ||
** New FontDialog | ** New FontDialog | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtquicklayouts-index.html Qt Quick Layouts] | ||
** Added baseline support to layout | ** Added baseline support to layout | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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() | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 96: | Line 96: | ||
== New Modules == | == New Modules == | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtbluetooth-index.html Qt Bluetooth] | ||
** Supported platforms: Linux/Bluez 4.x, BlackBerry | ** Supported platforms: Linux/Bluez 4.x, BlackBerry | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtnfc-index.html Qt NFC] | ||
** Supported platforms: BlackBerry | ** Supported platforms: BlackBerry | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtpositioning-index.html Qt Positioning] | ||
** Supported platforms: All platform/NMEA, Linux/GeoClue | ** Supported platforms: All platform/NMEA, Linux/GeoClue | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtwinextras-index.html Qt Windows Extras] | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtmacextras-index.html Qt Mac Extras] | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/qtandroidextras-index.html Qt Android Extras] | ||
== Support for New Platforms == | == Support for New Platforms == | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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 114: | Line 114: | ||
** JNI convenience API | ** JNI convenience API | ||
** OpenSSL support | ** OpenSSL support | ||
* [http://doc- | * [http://doc-snapshots.qt.io/qt5-5.4/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) |
Revision as of 09:19, 27 March 2015
This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine. Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean. |
[toc align_right="yes"]
What is new in Qt 5.2
Qt 5.2 was released on 12th of December.
The following pages has more information:
- Qt 5.2 Release Announcement
- "Qt 5.2 Features":/qt5/qt52
- "Qt 5.2 Documentation":/doc
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
- Qt Bluetooth
- Supported platforms: Linux/Bluez 4.x, BlackBerry
- Qt NFC
- Supported platforms: BlackBerry
- Qt Positioning
- Supported platforms: All platform/NMEA, Linux/GeoClue
- Qt Windows Extras
- Qt Mac Extras
- Qt Android Extras
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)