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>
This commit is contained in:
Kai Köhne 2021-06-09 16:46:01 +02:00
parent 02f521a59c
commit 1f242e0ab0

View File

@ -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