[Qgis-developer] Re: GdalTools versions
Martin Dobias
wonder.sk at gmail.com
Mon Jun 7 07:59:25 EDT 2010
2010/6/7 Giuseppe Sucameli <brush.tyler at gmail.com>:
>
> BTW, utils.py at line 81 contains this:
> plugindirs = [
> unicode(QgsApplication.pkgDataPath()) + "/python/plugins",
> unicode(QgsApplication.qgisSettingsDirPath()) + "/python/plugins"
> ]
> So it searches for plugins in /usr and after in ~/.qgis, but
> add a plugin to the list only if not already present.
As Juergen has written, the updateAvailablePlugins() has the purpose
to update the list of plugins - it takes just their names, not the
full path, so the order doesn't really matter. What does matter is the
order of paths in sys.path.
Martin
More information about the Qgis-developer
mailing list