summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/src/qt6-changes.qdoc
diff options
context:
space:
mode:
authorKai Köhne <kai.koehne@qt.io>2021-06-09 16:46:01 +0200
committerKai Köhne <kai.koehne@qt.io>2021-06-12 11:06:02 +0200
commit1f242e0ab0736c76515b95687858a0f0e9096a7d (patch)
tree16b11a05771825b3bb5997cd89101e70e19d6091 /src/corelib/doc/src/qt6-changes.qdoc
parent02f521a59cb008a6900b79139b21a5eabaeb66ee (diff)
Doc: Mention that you cannot order QVariants anymore
Pick-to: 6.1 6.2 Task-number: QTBUG-87263 Change-Id: I3d1332c43e4c06d47b249e4b9adb32685070f56a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/doc/src/qt6-changes.qdoc')
-rw-r--r--src/corelib/doc/src/qt6-changes.qdoc4
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