[Qgis-user] Ramifications of QMetaType replacing QVariant in QgsField & elsewhere
Nyall Dawson
nyall.dawson at gmail.com
Mon Nov 25 18:57:43 PST 2024
On Sun, 24 Nov 2024 at 03:56, C Hamilton via QGIS-User
<qgis-user at lists.osgeo.org> wrote:
>
> I was notified that QgsField started using QMetaType instead of QVariant with the QgsField constructor and the QVariant variant is being deprecated. At this point my plugins seem to work properly, but am concerned that at some point they will stop working and then I will need to massively update all of them with QMetaType and then they would no longer work with older QGIS instances.
>
> What is your guidance regarding this and perhaps other modifications you may have made that I am not aware of? How long will QVariant work before I need to make the change?
Until QGIS 4.0 at the EARLIEST, and there's no plans for that on the
horizon yet. We won't break 3.x API until then, and will keep all the
deprecated methods around for compatibility.
Nyall
> My concern is that many of my former customers work with older versions of QGIS. They don't automatically update to the latest versions.
>
> Thanks,
>
> Calvin
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
More information about the QGIS-User
mailing list