Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin builder 3 : 'WARNING: the plugin "newPlugin" is not compatible with this version of QGIS' #101

Open
L-Howarth opened this issue Feb 4, 2019 · 5 comments

Comments

@L-Howarth
Copy link

Hi I recent installed plugin builder 3 in QGIS 3.4.3

I was following the tutorial here and had just compiled with pyrcc5 - I checked my new plugin appear in the plugin list, but when I select it I get a warning message that the plugin is not compatible with this version of QGIS... any clues as to why?

image

@g-sherman
Copy link
Owner

What does your metatdata.txt file contain for the qgis min and max versions?

@L-Howarth
Copy link
Author

HI, sorry been away for a couple of days. Just had a look at the metadata.txt - Min and Max version should be ok ?

[general]
name=Plugin Builder 3
about=Create a template for a QGIS plugin
description=Creates a QGIS plugin template for use as a starting point in plugin development
version=3.1
qgisMinimumVersion=2.99
qgisMaximumVersion=3.99

changelog=3.1 2018-12-31:
* Fix issue with reload on generated plugins
3.0.4 2018-12-25:
* Move dialog creation to run method.
* Move help file generation files to proper method
* Include missing tags file
* Attempt to compile resources.qrc when plugin is generated (requires pyrcc5 in path)
* Set deployment directory in Makefile based on user OS (pb_tool is preferred over make)
* Check for valid URL format for tracker and repository
3.0.3 2018-02-23: Redesign of UI to allow better editing prior to generation.

homepage=http://g-sherman.github.io/Qgis-Plugin-Builder
tracker=https://github.com/g-sherman/Qgis-Plugin-Builder/issues
repository=https://github.com/g-sherman/Qgis-Plugin-Builder
tags=development
icon=icon.png

experimental=False
deprecated=False

author=GeoApt LLC
email=[email protected]

@L-Howarth
Copy link
Author

L-Howarth commented Feb 7, 2019

I'm just trying to use the plugin builder again (following the tuto previously linked above). When I click on "generate" I get the following message

The resource compiler pyrcc5 was not found in your path. You'll have to manually compile the resources.qrc file with pyrcc5 before installing your plugin

I did get this message the first time, but I didn't mention before, because in the tuto they show how to compile with pyrcc5 just after... so I didn't think anything of it..

@g-sherman
Copy link
Owner

Check metadata.txt for your plugin, not Plugin Builder.

@veragreen119
Copy link

veragreen119 commented Feb 19, 2019

I am also getting pyrcc5 error. Didn't want to start a new issue since it is mentioned here.
Q GIS: 3.4.1-Madeira
Python37
Plugin Builder 3.1

I see this comment in the Changelog:

  • Attempt to compile resources.qrc when plugin is generated (requires pyrcc5 in path)
    It seems to be not working. Note that I did NOT get the pyrcc5 error before upgrading the plugin.
    That being said when I deploy with pb_tool I get the message:
    Compiling resources.qrc to resources.py

As a side not from my plugin metadata.txt:
qgisMinimumVersion=3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants