[QGIS-Developer] QGIS API - recent changes to QgsSettings

Denis Rouzaud denis.rouzaud at gmail.com
Wed Jun 2 01:09:33 PDT 2021


Le mar. 1 juin 2021 à 16:43, Ricardo Filipe Soares Garcia da <
ricardo.garcia.silva at gmail.com> a écrit :

> Hi all
>
> I see that settings management in QGIS seems to be changing for the
> upcoming 3.20 release. I got this clue when consulting the online API docs
> for master and then realizing there is no QgsSettings class in there
> anymore.
>

To complete what Damiano wrote, QgsSettings didn't disappear:
https://qgis.org/pyqgis/master/core/QgsSettings.html



> I then searched the commit history on github and found some commits dating
> from April, which I guess are relevant here:
>
>
> https://github.com/qgis/QGIS/commits?after=415d4831b05cb3821ccbefe0b67307035bc0fb75+34&author=domi4484
>
> Is there some place where I can read about these changes in order to gain
> some more context on them?
>
> I'm interested in knowing how I can support both QGIS LTR and the upcoming
> 3.20 on plugins. Is QgsSettings gone forever from 3.20 on or is this going
> to be backwards compatible for a while? If not, what is going to be the new
> approach for settings management?
>
> Thanks in advance
>
> --
> ___________________________ ___ __
> Ricardo Garcia Silva
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20210602/1caf27fc/attachment.html>


More information about the QGIS-Developer mailing list