Hi devs, On Fri, Sep 10, 2010 at 12:20 AM, Tim Keitt <tke...@gmail.com> wrote:
> I generated a QGIS plugin skeleton using plugin_builder.py. After > modifying the ui using Qt Designer, I figured I should be able to type > 'make' and reload the plugin. The generated Makefile however does not > seem to work. Any hints? > I confirm, using the plugin builder [1] the generated Makefile seems invalid on my Ubuntu too. Could anyone fix this issue? @Tim: replace your Makefile contents with the following code: # Makefile for a PyQGIS plugin UI_FILES = Ui_MeshPoly.py RESOURCE_FILES = resources.py default: compile compile: $(UI_FILES) $(RESOURCE_FILES) $(RESOURCE_FILES): %.py: %.qrc pyrcc4 -o $@ $< $(UI_FILES): %.py: %.ui pyuic4 -o $@ $< Make sure there are tabs (at least one) instead of spaces before both pyuic4 and pyrcc4. I hope this may help. Cheers. [1] http://pyqgis.org/builder/plugin_builder.py > THK > > tke...@ubuntu-vbox:~/.qgis/python/plugins/meshpoly$ make > make: *** No rule to make target `compile', needed by `default'. Stop. > > # Makefile for a PyQGIS plugin > UI_FILES = Ui_MeshPoly.py > > RESOURCE_FILES = resources.py > > default: compile > compile: $(UI_FILES) $(RESOURCE_FILES) > > %.py : %.qrc > pyrcc4 -o $@ $< > > %.py : %.ui > pyuic4 -o $@ $< > > -- > Timothy H. Keitt > http://www.keittlab.org/ > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer > -- Giuseppe Sucameli
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer