qgis / qgis4.0_api

Tracker for QGIS 4.0 API related issues and developer discussion
3 stars 1 forks source link

remove QgsProject::instance singleton #117

Open elpaso opened 3 years ago

elpaso commented 3 years ago

Yeah, I know I'm dreaming... but sometimes dreams come true.

luipir commented 3 years ago

e.g multiple project in a single qgis instance?

m-kuhn commented 3 years ago

image

At an average pace of 1 per 10 minutes this should be done in roughly 14 days if :bed: and :shallow_pan_of_food: is skipped

:+1:

elpaso commented 3 years ago

Well, at least out of core, server and providers. App could live with that.

elpaso commented 3 years ago

e.g multiple project in a single qgis instance?

Maybe one day .. but there are other immediate advantages: thread safety, and less ugly workarounds like: https://github.com/qgis/QGIS/pull/39819

m-kuhn commented 3 years ago

Well, at least out of core, server and providers. App could live with that.

Good shout, if it's gone from core, that will be a good start already. Found 115 times. Sounds much more feasible.

elpaso commented 3 years ago

we need providers too: see virtual layers

m-kuhn commented 3 years ago

We also need gui and server. Just thinking about step by step feasible goals.