[Qgis-developer] PluginBuilder writes a wrong import inside .py

Pirmin Kalberer pi_ml at sourcepole.com
Tue Nov 3 03:01:51 PST 2015


Hi Roberto,

Am Dienstag, 3. November 2015, 10.49:24 schrieb Geo DrinX:
> 
> 
> 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
> 
> 
> I hope this helps to create new and useful plugins .

Please open an issue at
https://github.com/g-sherman/Qgis-Plugin-Builder

Regards
Pirmin

-- 
Pirmin Kalberer
Sourcepole  -  Linux & Open Source Solutions
http://www.sourcepole.com



More information about the Qgis-developer mailing list