[QGIS-Developer] my qgis standalone application can't load *.qgz file's saved extent

weskerjiang at sina.cn weskerjiang at sina.cn
Thu Apr 19 19:41:59 PDT 2018


I make a standalone application,i save a *.qgz,when i saved this file,the extent is 1:500.but when i open it from my application,the initialized
 extent is not 1:500 but the full extent,when i open it in QGIS 3.0,everything is fine,the initialized extent is 1:500,so what is wrong with it?
i use          QgsProject::instance()->read(projectFile) to load the file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180420/6daf266c/attachment.html>


More information about the QGIS-Developer mailing list