Qt 5.2 的新功能
Qt 5.2 introduces many changes for helping developers continue creating wonderful applications, easily and with less code. As well in this release, focus is placed on bug fixing and new features, while maintaining compatibility with Qt 5.1 and 5.0.
This page is a summary of new features. For specific API changes, the
API 变化列表
section contains links to new and obsolete classes.
新模块
更多信息,拜访
所有模块
页面。
Android
-
Full support for camera and recording
-
Low-latency audio (
QAudioInput
,
QAudioOutput
)
-
Command-line deployment tool
-
JNI convenience API
-
OpenSSL 支持
更多信息,拜访
Qt for Android
页面。
iOS
-
Media player support
-
Basic camera support (only viewfinder and image capture)
-
Low-latency audio (
QAudioInput
,
QAudioOutput
)
更多信息,拜访
Qt for iOS
页面。
Qt Creator 更新
Qt Creator 3.0 is released along with Qt 5.2. In Qt Creator 3.0, the following were added:
-
Initial iOS support
-
API cleanup
-
Enhanced Android support
-
Initial debugging backend for the
LLDB Debugger
(OS X)
安装更新
In 5.2, there are new reference installers for OS X:
There is also a new target binary for Windows, OS X, and Linux:
The installers are available from the
下载
页面。
Qt 5.2 中的新特征
Qt Core 模块
Qt GUI 模块
-
Added support for embedded clear button commonly used for item view filtering and side actions to
QLineEdit
-
Added methods based on
QUrl
to
QFileDialog
-
添加新
QKeySequenceEdit
class
-
Restored session-management support from Qt4
-
Restored basic startup-notification support on Unix
-
Added placeholderText property to
QTextEdit
-
Added getMultiLineText static method to
QInputDialog
-
Added tabBarClicked and tabBarDoubleClicked signals to
QTabBar
Qt Print Support 模块
-
Added advanced CUPS features on Linux including server-side page range selection, odd and even page selection, pages-per-sheet, job scheduling, and banner pages.
Qt QML 模块
-
Added new property to
Qt.application
: state
-
Added ability to define QML singletons with QML files
-
添加
QQmlFileSelector
for applying file selectors to support certain styles of cross-platform development
-
Added a supported method for launching QML-only applications for the QML binary runtimes
-
New V4 JS engine
Qt Quick 模块
-
添加新
scenegraph
renderer for improved performance
-
Added texture atlas support in SceneGraph
-
添加新
animator
types, which can run animations on the scene graph's render thread.
-
Support for external drag-and-drop
Qt Quick Controls 模块
-
Added support for an editable combo box
-
Added support for multi-selection in
TableView
-
Added support for setting columns movable in
TableView
-
添加
Switch
type
-
添加
BusyIndicator
type
-
Simplified deployment
Qt Quick Dialogs 模块
Qt Quick Layouts 模块
-
Added baseline support to layout
Qt Network 模块
-
Added public methods to pre-TCP and pre-SSL-connect to
QNetworkAccessManager
-
Added API to persist and resume SSL sessions to
QSslConfiguration
-
Added support for allowing for debugging SSL traffic with Wireshark or tcpdump
-
Add public member bearerTypeFamily() to QNetworkConfiguration
moc 新特征
-
添加
-M
argument to add plugin metadata from the command line
Accessibility New Features
-
Enabled accessibility on Mac
-
Made the APIs public so that it is possible to implement accessibility for custom widgets
-
Basic accessibility support for Android
WebKit 新特征
-
Added CSS blending
-
Improved the threaded garbage collection
-
Added support for LLInt on x87 (old x86 without SSE2)
-
Added Improvements to standard support in HTML5 Canvas, CSS Grid, CSS Shapes, CSS filters, and other features
API 变化列表
以下页面包含 Qt 5.2 中的 API 变化列表
其它 Qt 5 发行的补充