[Qgis-developer] Open a *.qgs project file in API, why maps do not show?

Spartucus niubob at hotmail.com
Tue Oct 21 06:00:10 PDT 2014


Hi Gary,
According to the QgisApp::addProject( QString projectFile ) function, I did
some change in my code. However, the map still doesn't show, but the CRS in
project works fine. So I think the project file was read but there is
something wrong about display(or MapCanvas).

I don't use Python plug-ins and ScaleComboBox, so I remove the relevant
part, the code is:




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Open-a-qgs-project-file-in-API-why-maps-do-not-show-tp5168545p5168673.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list