g-sherman / plugin_build_tool

Python command line tool for compiling and deploying QGIS plugins
GNU General Public License v2.0
38 stars 18 forks source link

resources.qrc generate file from pb_tool differs from Makefile #1

Closed ThomasG77 closed 8 years ago

ThomasG77 commented 8 years ago

When I do make compile with a plugin generated from the "Plugin Builder", it generates a resources.py file from resources.qrc whereas doing a pb_tool compile, it generates a resources_rc.py. Due to this when only using pb_tool, the generated plugin fails when loaded: it expects a resources.py because of import resources. IMO, we should unify the default behaviour.

g-sherman commented 8 years ago

Right---we changed the generation of the resources file because of issues caused by editing a .ui with Designer. pb_tool needs an update....

Thanks for pointing it out.

g-sherman commented 8 years ago

Version 1.9.1 fixes this issue;

pip install --upgrade pb-tool