[Development] QVariant comparison in Qt6

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Fri Sep 18 10:44:36 CEST 2020

Il 18/09/20 02:54, Thiago Macieira ha scritto:
> What's been removed is the conversion. Aside from the numeric types, comparing
> two variants of different types will always result in false. If you want to
> compare across types, convert one to the other's type or to a common third
> type. You know what data you put in there and you should know what conversions
> can be lossy or not.

In other words even mixed comparisons between strings, string views, 
byte array, etc. are unsupported now?

Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4329 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200918/2ee01b7d/attachment.bin>

More information about the Development mailing list