<div dir="ltr"><div><div><div><div><div>Nyal, <br><br>Thanks a lot, you find it !<br></div>When instantiating QgsMapSettings first, then use this object to instantiate QgsComposition, this works well with no segfault.<br><br>
</div>Without your help, I could have spent many times on this issue without even noticing this small difference. Thanks a lot again !<br><br></div>Is it still an issue, though, or should I close the issue I added in the hub ?<br>
<br></div>Best wishes,<br></div>Michael<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-19 22:48 GMT+02:00 Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><p dir="ltr"><br>
On 20/08/2014 2:58 am, "kimaidou" <<a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>> wrote:<br>
><br>
> Hi again,<br>
><br>
> I have opened an issue in the hub : <a href="http://hub.qgis.org/issues/11077" target="_blank">http://hub.qgis.org/issues/11077</a><br>
><br>
> I have not assigned anyone, please assign the adequate dev ;)<br>
></p>
</div><p dir="ltr">Does it make any difference if you change:<br>
c = QgsComposition(QgsMapSettings())</p>
<p dir="ltr">To:<br>
ms=QgsMapSettings()<br>
c=QgsComposition(ms)</p>
<p dir="ltr">?<span class="HOEnZb"><font color="#888888"><br>
Nyall</font></span></p>
</blockquote></div><br></div>