[QGIS-Developer] QEP 423: Get rid of QgsProject::instance() singleton in qgis_core

Martin Dobias wonder.sk at gmail.com
Mon Apr 13 14:44:58 PDT 2026


Hi all

I have submitted a QEP [1] to remove usage of QgsProject::instance() within
qgis_core library, in order to clean up the code and prevent various subtle
and unexpected bugs in the code that uses qgis_core API, but is unaware of
the hidden dependency on the active project.

This QEP will be submitted as part of the QGIS.org grant program.

Cheers
Martin

[1] https://github.com/qgis/QGIS-Enhancement-Proposals/pull/380
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20260413/10bffad7/attachment.htm>


More information about the QGIS-Developer mailing list