On 03-11-15 11:45, Anita Graser wrote:
> On Tue, Nov 3, 2015 at 10:49 AM, Geo DrinX <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Hello all,
> 
>     probably you just know, but I found that "PluginBuilder"  plugin for
>     QGIS  writes at line 26  of the main  .py  file the following code:
> 
>     import resources
> 
>     I think this is wrong,  because in run it returns a python error.
> 
>     The correct code is:
> 
>     import resources_rc
> 
> ​Hi Roberto,
> Afaik, the plugin builder code is not wrong. You just have to adjust the
> name of the output file when compiling the resources.
> Best wishes,
> Anita​

Hi Roberto,

I've had this issue also some time ago, but according to Gary it should
be fixed:

https://github.com/g-sherman/Qgis-Plugin-Builder/issues/34

Note off course that plugins build with an older version of the builder
still will have the problem.
If you still have this problem with a current plugin, please report back
at the issuelist at Github

Regards,

Richard Duivenvoorde

_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to