I am creating a standalone external Application of QGIS using python and i am following the tutorial mentioned in the link http://download.osgeo.org/qgis/doc/workshops/foss4g2007_qgis0.9_workshop_en.pdf

I compiled my UI as well as the resource file and also set QGISHOME , Python path and the path for the dll files. And run my py file using OSGeo4W Shell. just the python file is running and nothing appears other than that what is expected (Viewer should opens, browse for shape files, and do some basic actions like zoom in, zoom out, pan etc.). There is no any error message also. The code is very lengthy to share here.

  • 1
    Please edit your question to add the error message as text in a code block instead of a screen shot – user2856 Apr 13 '15 at 20:26
  • @ Luke: Edited as you recommended. – User123 Apr 14 '15 at 5:08

Without creating a QT application in the main function I directly called the function that initiates the QGIS libraries. That was the problem. Now it got solved after making changes.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.