Nyal,

Thanks a lot, you find it !
When instantiating QgsMapSettings first, then use this object to
instantiate QgsComposition, this works well with no segfault.

Without your help, I could have spent many times on this issue without even
noticing this small difference. Thanks a lot again !

Is it still an issue, though, or should I close the issue I added in the
hub ?

Best wishes,
Michael


2014-08-19 22:48 GMT+02:00 Nyall Dawson <nyall.daw...@gmail.com>:

>
> On 20/08/2014 2:58 am, "kimaidou" <kimai...@gmail.com> wrote:
> >
> > Hi again,
> >
> > I have opened an issue in the hub : http://hub.qgis.org/issues/11077
> >
> > I have not assigned anyone, please assign the adequate dev ;)
> >
>
> Does it make any difference if you change:
> c = QgsComposition(QgsMapSettings())
>
> To:
> ms=QgsMapSettings()
> c=QgsComposition(ms)
>
> ?
> Nyall
>
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to