<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:BatangChe;
        panose-1:2 3 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:"\@BatangChe";
        panose-1:2 3 6 9 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Hello,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I would like to programmatically load a plugin from QGIS official repository (eg in startup python script)<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I’ve found QgsPluginManagerInterface class but I’m not sure </span><a href="http://qgis.org/api/classQgsPluginManagerInterface.html#aeec85580f92725f55047069be6273c97"><span lang=EN-US>addPluginMetadata</span></a><span lang=EN-US> can do the trick…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>I’ve explored QWebPluginFactory class which can be access by qgis.utils.plugins, but it’s a little bit confusing for me…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Sylvain<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:10.0pt;line-height:115%'><span style='font-size:10.0pt;line-height:115%;font-family:"Arial","sans-serif"'><o:p> </o:p></span></p><table class=MsoNormalTable border=1 cellpadding=0 style='border:none;border-top:solid gray 1.0pt'><tr style='height:54.95pt'><td width=294 style='width:220.5pt;border:none;padding:1.5pt 1.5pt 1.5pt 1.5pt;height:54.95pt'><p class=MsoNormal style='margin-left:21.3pt;text-indent:-21.3pt;line-height:115%'><b><span style='font-size:14.0pt;line-height:115%;font-family:"Arial","sans-serif";color:#CC0066;mso-fareast-language:FR'>→</span></b><span style='font-family:"Arial","sans-serif";mso-fareast-language:FR'>  </span><b><span style='font-size:10.0pt;line-height:115%;font-family:"Arial","sans-serif";mso-fareast-language:FR'>Sylvain PIERRE<span style='color:#CC0066'><o:p></o:p></span></span></b></p><p class=MsoNormal style='margin-left:21.3pt;text-indent:-21.3pt;line-height:115%'><span style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";color:#CC0066;mso-fareast-language:FR'>         </span><span style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";mso-fareast-language:FR'>Ingénieur Géographe et adjoint au chef du service de l’administr<o:p></o:p></span></p><p class=MsoNormal style='margin-left:21.3pt;text-indent:-21.3pt;line-height:115%'><span style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";mso-fareast-language:FR'>         Direction de l’Agriculture, de l’Espace Rural et de l’Environnement<o:p></o:p></span></p><p class=MsoNormal style='margin-left:21.3pt;text-indent:-21.3pt;line-height:115%'><span style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";mso-fareast-language:FR'>         Service Administration Générale<o:p></o:p></span></p><p class=MsoNormal style='margin-left:21.3pt;text-indent:-21.3pt;line-height:115%'><span style='font-size:12.0pt;line-height:115%;font-family:"Arial","sans-serif";color:navy;mso-fareast-language:FR'>       </span><b><span style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";mso-fareast-language:FR'>Conseil Départemental du Bas-Rhin<span style='color:navy'><o:p></o:p></span></span></b></p></td><td width=167 style='width:125.35pt;border:none;padding:1.4pt 1.4pt 1.4pt 1.4pt;height:54.95pt'><p class=MsoNormal align=center style='text-align:center;line-height:115%'><a href="http://www.bas-rhin.fr/" title="Cliquez sur le logo pour accéder au site internet du département du Bas-Rhin"><span style='font-size:10.0pt;line-height:115%;font-family:"Arial","sans-serif";color:windowtext;mso-fareast-language:FR;text-decoration:none'><img border=0 width=152 height=72 id="Image_x0020_18" src="cid:image001.jpg@01D06D26.BB468450"></span></a><span lang=EN-US style='font-size:8.0pt;line-height:115%;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr><tr style='page-break-inside:avoid;height:54.95pt'><td width=463 colspan=2 style='width:347.35pt;border-top:solid gray 1.0pt;border-left:none;border-bottom:solid gray 1.0pt;border-right:none;padding:1.5pt 1.5pt 1.5pt 1.5pt;height:54.95pt'><p class=MsoNormal style='line-height:115%'><span style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";color:gray;mso-fareast-language:FR'>         Hôtel du Département<br>         1 place du Quartier Blanc / 67964 Strasbourg Cedex 9<br>         Tél : 03 88 76 68 88 – mobile :<br>         Email : <a href="mailto:sylvain.pierre@bas-rhin.fr"><span style='color:blue'>sylvain.pierre@bas-rhin.fr</span></a><o:p></o:p></span></p><p class=MsoNormal style='line-height:115%'>         <a href="http://www.bas-rhin.fr"><span lang=EN-US style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";color:blue;mso-fareast-language:FR'>www.bas-rhin.fr</span></a><span lang=EN-US style='font-size:8.0pt;line-height:115%;font-family:"Arial","sans-serif";color:gray;mso-fareast-language:FR'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></body></html>