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. _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer