[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qgis-developer
Subject:    Re: [Qgis-developer] QGIS Server 3.0 roadmap
From:       Richard Duivenvoorde <rdmailings () duif ! net>
Date:       2016-09-28 15:55:14
Message-ID: a8304e9c-74d1-0180-0ce8-84ac78e99530 () duif ! net
[Download RAW message or body]

On 28-09-16 15:12, René-Luc Dhont wrote:
> Hi Nyall,
> 
> I like your proposition on QGIS Project and Layer Registry. Will you
> write a QEP about it ? Do you wait the grant vote ?
> 
> About the server part, we used QgsMapLayerRegistry because some widgets
> rely on map layer ids and not map layer pointers. We create our own
> Project parser because the QgsProject load segfault if the
> QgsApplication is instanciate without interface (GUIenabled to false).
> And QgsProject is too close to QGIS gui.

May I point (as part of 3.0 changes, second try ;-) ) to:

https://hub.qgis.org/issues/13494#note-19

Where Martin Dobias says:

"In general, the QgsApplication API is extremely confusing - and I hope
we can fix it for QGIS 3.0. It derives from QApplication (IMHO bad
idea), it also handles init/exit and paths. The init/exit handling
should be ideally completely automatic with PyQGIS, hopefully avoiding
different possible ways how people init PyQGIS in the future."

I hit this also, so it would be nice to get this fixed for 3.0, as both
pyqgis would benefit from it and apparently QGIS server :-)

Regards,

Richard Duivenvoorde



_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic