Qt 5.3 的新功能
The focus for Qt 5.3 is mainly about improving the stability, performance, and first-time user experience of the product. Qt 5.3 will also offer a good amount of new and exciting features, and a new platform:
WinRT
/Windows Phone.
This page is a summary of new features. For specific API changes, the
API 变化列表
section contains links to new and obsolete classes.
新模块
更多信息,拜访
所有模块
页面。
Qt 5.3 introduces support for
WinRT
and Windows Phone on a beta quality level. Most features in Qt Core, GUI, Network, Widgets, QML, Quick, and Sensors are already working.
-
Windows Runtime platforms: Windows 8/RT (Modern UI), Windows Phone 8. The documentation is available at
Qt for WinRT
.
新特征
Qt Core 模块
-
Logging: It is now possible to configure logging rules (for example, the message types for which categories are printed) on the filesystem or in
QtProject/qtlogging.ini
。还可以使用
qCDebug
and friends in a printf-style way, in addition to the streaming operator syntax.
Qt GUI 模块
-
Qt's iOS plugin now implements support for input methods, spell checking and word completion.
-
Embedded Linux platform specifics (plugins like eglfs and linuxfb) are now documented.
Qt Quick 模块
Qt Quick Controls 模块
Qt Quick Dialogs 模块
-
The QML implementations are now built with
QtQuick
.Controls (and therefore the source is moved from qtdeclarative.git to qtquickcontrols.git), which enables adding some features such as folder shortcuts (both standard locations and bookmarked locations), and comboboxes for file filters and writing systems.
-
There is a new Dialog type which provides only the standard buttons, so that you can construct dialogs with arbitrary contents, such as various types of input dialogs and pickers.
Qt Network 模块
-
Support for the SPDY protocol (version 3.0) was added.
-
新的
QCameraInfo
class was added. It allows to get static information about cameras such as physical position and sensor orientation. In addition, the class provides a way to list available cameras on the system and deprecates QCamera::availableDevices().
Qt WebKit 模块
Qt Positioning 模块
-
The module has been ported to Android and iOS. Android supports position and satellite updates while iOS supports position updates only.
Qt Bluetooth 模块
-
The module has been ported to Android.
Qt QML 模块
-
Profiling support for V4, using the same event types as the QML profiler.
-
Profile or debug multiple QML engines in one application with the new EngineControl debug service.
-
Qt's XCB plugin now listens to XInput2 scrolling events which means it will respond to high resolution smooth scrolling events on devices where they are supported. Currently this is mainly touch pads.
Qt Creator 3.1
The release of Qt Creator 3.1 coincides with the release of Qt 5.3. The release introduces new features as well as bug fixes and improvements.
更多信息,拜访
Qt Creator 手册
.
WinRT 插件
Qt Creator 3.1 introduces a
WinRT
plugin that facilitates deployment and development of applications. The plugin is still experimental but the main features that already work nicely are:
-
Registration of Windows Runtime and Windows Phone Qt versions.
-
Support for Windows Runtime and Windows Phone Kits.
-
Building of Windows Runtime and Windows Phone applications.
-
Running of applications for Windows Runtime and Windows Phone via Qt Creator’s
运行
button.
To enable the plugin, go to
帮助
>
关于插件
and enable
WinRT
in
Device Support
.
Editors
-
Better support of multiple editors and windows.
-
New
Beautifier plugin
for applying indentation and other coding styles.
C++
-
Experimental new Clang based code model.
iOS
-
Better support of multiple devices.
QML
-
Better Qbs support.
-
Better defaulting and import resolution.
-
JavaScript profiler frontend (V4 only), integrated in QML profiler
events
and
timeline
views.
Debugger
-
Improved LLDB support.
-
Removed support for GDB builds without Python.
设备
-
SSH parameters now available as Qt Creator variables, for example, for use in custom run configurations.
API 变化列表
以下页面包含 Qt 5.3 中的 API 变化列表:
其它 Qt 5 发行的补充