<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 3, 2015 at 10:49 AM, Geo DrinX <span dir="ltr"><<a href="mailto:geodrinx@gmail.com" target="_blank">geodrinx@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello all,<br><br><br></div>probably you just know, but I found that "PluginBuilder"  plugin for QGIS  writes at line 26  of the main  .py  file the following code:<br><br><br>import resources<br><br><br></div>I think this is wrong,  because in run it returns a python error.<br><br><br></div>The correct code is:<br><br><br>import resources_rc<br></div></div></div></div></blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">​Hi Roberto,</div><div class="gmail_default" style="font-size:small">Afaik, the plugin builder code is not wrong. You just have to adjust the name of the output file when compiling the resources.</div><div class="gmail_default" style="font-size:small">Best wishes,</div><div class="gmail_default" style="font-size:small">Anita​</div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br><br></div>I hope this helps to create new and useful plugins .<br><br><br></div>Thank you in advance for attention<br><br></div>Roberto<br></div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div></div>