Skip to content

Fix QGIS 4 migration docs #272

@Xpirix

Description

@Xpirix

Sorry to bump this again, but I noticed that https://plugins.qgis.org/docs/migrate-qgis4 says:

QGIS 4 compatibility is now determined exclusively by the qgisMaximumVersion field in metadata.txt. A plugin version is shown in the QGIS 4 Ready Plugins list when qgisMaximumVersion ≥ 4.0.

This contradicts the list I posted above regarding QGIS4-exclusive plugins and that @borysiasty said was correct.

Also it contradicts @Gustry text in qgis/QGIS#65169 (comment):

If your plugin is intended to support more than one major QGIS version (e.g. both QGIS 3 and 4), you must explicitly set qgisMaximumVersion in metadata.txt, for example: qgisMaximumVersion=4.99. Otherwise your plugin will not be loaded by QGIS 4. However, if your plugin only targets QGIS 4 and no longer supports QGIS 3.x, simply set qgisMinimumVersion=4.0 and do not define qgisMaximumVersion (it's optional).

Sorry for not noticing it earlier and for abusing this issue for questions.

Is it correct, that a QGIS4-exclusive plugin just needs the qgisMinimumVersion? In that case the documentation page is wrong/misleading.

Originally posted by @kannes in #250 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Review in progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions