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:25 +0000 |
commit | 8f6d23fc87a4b9d90e5438c790afc0c655fee2a2 (patch) | |
tree | ed7cffb310db92473d420a9284a77d1c892ef1dc /src | |
parent | a8dc7b7a1adc229f010151a789fb959d48a02ee7 (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')
-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 |