[Development] [RFO QTBUG-84739] QJsonValue::fromVariant containing QByteArray

Mathias Hasselmann mathias at taschenorakel.de
Thu Jul 2 11:12:32 CEST 2020

Am 01.07.2020 um 23:21 schrieb Thiago Macieira:
> Re: https://bugreports.qt.io/browse/QTBUG-84739
> Summary: Qt 5.15 has an unintentional change in behaviour that has broken
> existing applications. We need to decide whether to:
>   a) leave as-is
>   b) revert permanently
>   c) revert for 5.15.x but keep the new behaviour in 6.x

How about:

d) Follow the C++ trend of banning implicit conversions and make the 
function fail for all input that is as underspecified as a QByteArray.

More information about the Development mailing list