cc7239da8d
This is possible with QWeakPointer, so allow it for migrating code too. In the process, replace the QPointerBase with a member variable for simplicity. The functionality of the QPointerBase is replaced by a TypeSelector template. Change-Id: I3b4c77bdeda2b863cc33e84a3da8a25bae928c8c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
124 lines
3.5 KiB
Plaintext
124 lines
3.5 KiB
Plaintext
Qt 5.1 introduces many new features and improvements as well as bugfixes
|
|
over the 5.0.x series. For more details, refer to the online documentation
|
|
included in this distribution. The documentation is also available online:
|
|
|
|
http://qt-project.org/doc/qt-5.1
|
|
|
|
The Qt version 5.1 series is binary compatible with the 5.0.x series.
|
|
Applications compiled for 5.0 will continue to run with 5.1.
|
|
|
|
Some of the changes listed in this file include issue tracking numbers
|
|
corresponding to tasks in the Qt Bug Tracker:
|
|
|
|
http://bugreports.qt-project.org/
|
|
|
|
Each of these identifiers can be entered in the bug tracker to obtain more
|
|
information about a particular change.
|
|
|
|
****************************************************************************
|
|
* General *
|
|
****************************************************************************
|
|
|
|
General Improvements
|
|
--------------------
|
|
|
|
- Q_PROPERTY gained a MEMBER attribute that let you associate a property to a
|
|
class member without requiring to explicitly writing a getter or a setter
|
|
|
|
|
|
Third party components
|
|
----------------------
|
|
|
|
-
|
|
|
|
|
|
****************************************************************************
|
|
* Important Behavior Changes *
|
|
****************************************************************************
|
|
|
|
- QtWidgets
|
|
|
|
* [QTBUG-8836] QAbstractItemView now allows manual deselect in
|
|
SingleSelection mode (with control modifier)
|
|
|
|
****************************************************************************
|
|
* Library *
|
|
****************************************************************************
|
|
|
|
QtCore
|
|
------
|
|
|
|
- QRect:
|
|
* Added marginsAdded(), marginsRemoved() and operators +, -, +=, -=
|
|
taking a QMargins object allowing for conveniently adding or removing
|
|
margins.
|
|
- QMargins:
|
|
* Added operators for adding and subtracting QMargins objects,
|
|
multiplication and division for int/qreal and unary minus.
|
|
|
|
- QMessageAuthenticationCode
|
|
* New class for hash-based message authentication code added to QtCore.
|
|
|
|
- QRegularExpression
|
|
* It's now possible to know the names of the named capturing groups
|
|
inside the pattern string, as well as the numerical index of each
|
|
named capturing group.
|
|
|
|
- QPointer
|
|
* It is now possible to create a QPointer with a const templated type.
|
|
|
|
-
|
|
|
|
QtGui
|
|
-----
|
|
|
|
-
|
|
|
|
|
|
QtNetwork
|
|
---------
|
|
|
|
-
|
|
|
|
|
|
|
|
****************************************************************************
|
|
* Database Drivers *
|
|
****************************************************************************
|
|
|
|
|
|
****************************************************************************
|
|
* Platform Specific Changes *
|
|
****************************************************************************
|
|
|
|
Qt for Linux/X11
|
|
----------------
|
|
-
|
|
|
|
Qt for Windows
|
|
--------------
|
|
-
|
|
|
|
Qt for Mac OS X
|
|
---------------
|
|
-
|
|
|
|
Qt for Embedded Linux
|
|
---------------------
|
|
|
|
|
|
Qt for Windows CE
|
|
-----------------
|
|
|
|
|
|
****************************************************************************
|
|
* Compiler Specific Changes *
|
|
****************************************************************************
|
|
|
|
|
|
****************************************************************************
|
|
* Plugins *
|
|
****************************************************************************
|
|
|
|
|