diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-06-09 16:46:01 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-06-12 11:33:24 +0000 |
commit | e4e093e7f3ce2cc050da51b3fa20c58f24e5c9b6 (patch) | |
tree | 7016b831f6c188a0be70d6d0509b0aab150478e2 /src/corelib/doc | |
parent | a071db4ca6c79849d9fb917efc58cf9819d6d296 (diff) |
Doc: Mention that you cannot order QVariants anymore
Task-number: QTBUG-87263
Change-Id: I3d1332c43e4c06d47b249e4b9adb32685070f56a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 1f242e0ab0736c76515b95687858a0f0e9096a7d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/doc')
-rw-r--r-- | src/corelib/doc/src/qt6-changes.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/doc/src/qt6-changes.qdoc b/src/corelib/doc/src/qt6-changes.qdoc index 7e048ead78..88437c47d9 100644 --- a/src/corelib/doc/src/qt6-changes.qdoc +++ b/src/corelib/doc/src/qt6-changes.qdoc @@ -529,6 +529,10 @@ \endlist + Furthermore, QVariant::operator<, QVariant::operator<=, QVariant::operator> and + QVariant::operator>= were removed, because different variants are not always orderable. This + also means that QVariant cannot be used anymore as a key in a QMap. + \section2 The QMetaType class In Qt 6, registration of comparators, and \cQDebug and \QDataStream streaming operators is |