GispoCoding / cookiecutter-qgis-plugin

A QGIS Plugin template to be set up with Cookiecutter
MIT License
24 stars 4 forks source link

Provider is not imported automatically when creating with submodule and processing #53

Closed JuhoErvasti closed 5 months ago

JuhoErvasti commented 5 months ago

Describe the bug When you create a plugin with processing and the qgis_plugin_tools submodule, the processing provider is not included in plugin.py, see here.

This causes a NameError when trying to activate the plugin in QGIS.

To Reproduce Create a plugin using the template, include processing and qgis plugin tools. Deploy the plugin, and try activating it.

Expected behavior The Provider class should be imported. It is being referenced otherwise already.

LKajan commented 5 months ago

Resolved by #51