[Qgis-user] how to setup python environtment for qgis python application

欧阳乐岩 ouyang.leyan at hotmail.com
Sat Jul 14 07:58:35 PDT 2012


On 07/14/2012 03:50 PM, Richard Duivenvoorde wrote:
> On 07/14/2012 07:20 AM, 侯伟 wrote:
>> i read the pyqgis cook book, but the
>> http://www.qgis.org/pyqgis-cookbook/intro.html#python-applications
>> said to simple and seem too old, some have the idea or experience on
>> python qgis development. thanks.
>
> Hi,
>
> please provide a little more background for what you want. If you find
> errors, the source for the cookbook is on Github:
> https://github.com/qgis/QGIS-Developer-Cookbook
> So you can change it (or even translate it a in fourth language ;-) )

I got more information by private email, the issue was that under 
Windows, the prefix to set in QgsApplication.setPrefixPath() is not 
"D:\hw\Quantum GIS Lisboa" but "D:\hw\Quantum GIS Lisboa\apps\qgis", 
which is not completely intuitive and could be added in the doc.

Leyan



More information about the Qgis-user mailing list