Skip to content

Commit

Permalink
Add tags for plugins supporting Qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored Mar 22, 2024
1 parent 663fa23 commit b0a0946
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/pyqgis_developer_cookbook/plugins/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ server False boolean flag, :const:`True` or :const:`False`,
the plugin has a server interface
hasProcessingProvider False boolean flag, :const:`True` or :const:`False`, determines if
the plugin provides processing algorithms
supportsQt6 False boolean flag, :const:`True` or :const:`False`, determines if
the plugin can be run on QGIS built with Qt6
===================== ======== =============================================================

By default, plugins are placed in the :menuselection:`Plugins` menu (we will see
Expand Down Expand Up @@ -171,8 +173,8 @@ An example for this metadata.txt
about=This paragraph can contain a detailed description
of the plugin. Multiline is allowed, HTML is not.
version=version 1.2
tracker=http://bugs.itopen.it
repository=http://www.itopen.it/repo
tracker=https://bugs.itopen.it
repository=https://www.itopen.it/repo
; end of mandatory metadata

; start of optional metadata
Expand Down Expand Up @@ -210,6 +212,9 @@ An example for this metadata.txt
; name field
plugin_dependencies=MyOtherPlugin==1.12,YetAnotherPlugin

; whether the plugin can be run on QGIS built with Qt6
supportsQt6=True


.. index:: Plugins; Initialisation

Expand Down

0 comments on commit b0a0946

Please sign in to comment.