Last Updated: February 25, 2016
·
402
· ismailsunni

Find QgsApplication's PrefixPath

If you want to create python script that needs to set QgsApplication's PrefixPath, may be this one will be useful.
Rather than looking which path you want to use, just go to QGIS Python Console and run :

QgsApplication.prefixPath()

And you will get your QgsApplication's PrefixPath.

PS : It's very simple, but I spent few hours to find it. Since my QGIS is installed in strange directory.