[Qgis-developer] programmatically load a plugin

PIERRE Sylvain sylvain.pierre at bas-rhin.fr
Thu Apr 2 00:23:51 PDT 2015


Hello,

I would like to programmatically load a plugin from QGIS official repository (eg in startup python script)
I’ve found QgsPluginManagerInterface class but I’m not sure addPluginMetadata<http://qgis.org/api/classQgsPluginManagerInterface.html#aeec85580f92725f55047069be6273c97> can do the trick…
I’ve explored QWebPluginFactory class which can be access by qgis.utils.plugins, but it’s a little bit confusing for me…


Sylvain



→  Sylvain PIERRE
         Ingénieur Géographe et adjoint au chef du service de l’administr
         Direction de l’Agriculture, de l’Espace Rural et de l’Environnement
         Service Administration Générale
       Conseil Départemental du Bas-Rhin

[cid:image001.jpg at 01D06D26.BB468450]<http://www.bas-rhin.fr/>

         Hôtel du Département
         1 place du Quartier Blanc / 67964 Strasbourg Cedex 9
         Tél : 03 88 76 68 88 – mobile :
         Email : sylvain.pierre at bas-rhin.fr<mailto:sylvain.pierre at bas-rhin.fr>
         www.bas-rhin.fr<http://www.bas-rhin.fr>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150402/7d2ddd88/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3504 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150402/7d2ddd88/attachment-0001.jpg>


More information about the Qgis-developer mailing list