On Tuesday, 8 June 2021 13:57:53 PDT Jason H wrote: > Which is neiher what I acually had but performs the same bad conversion as > what I had. I am not sure why the QVariantList vs QList have different > fidelity - the one with more fidelity - QList - actually has has less > specificity.
Because that's how C++ works. QList is not a type, it's a template. Neither QVariant nor QJsonDocument can know all possible QList instantiations. So they have coded only a few (QVariantList and QStringList only, possibly QVector<QVariant> and QVector<QString> in Qt 5 too, I don't remember). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel DPG Cloud Engineering _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest