Hello Nyall,
Thank you for your answer.
I'm really ashamed : It was just a stupid path problem.
I had already tried to import new composers created with QGIS 2.6, but
trying again put me on the path to the solution.
Thank you and really sorry for the noise.
Vincent
---
Hello all,
Since QGIS 2.6, the LoadFromTemplate method seems not work any more (or
works differently?)
This is my code to add items in my composer from a template :
|self.composition= self.composerView.composition()
file1=QtCore.QFile('ComposerTemplate.qpt')
doc=QtXml.QDomDocument()
On 4 December 2014 at 02:14, Vincent Damoy
vincent.da...@espaces-naturels.fr wrote:
Hello all,
Since QGIS 2.6, the LoadFromTemplate method seems not work any more (or works
differently?)
This is my code to add items in my composer from a template :
self.composition =