aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2024-04-30 13:59:03 +0200
committerEike Ziller <eike.ziller@qt.io>2024-05-06 09:46:29 +0000
commit3249b106e5eae2fcfa416c94d77aa3ffe31dc2cb (patch)
tree68a331646120f79be4ea92c8e7f79e11bfc47820 /src/plugins/lua
parent6656204b1efb76abda7fe6add98bbdeaa478e1f0 (diff)
Make it possible to add wizards paths via plugin meta data
That makes it easy with Lua plugins, and is useful on the C++ side as well. Change-Id: I660956bed47e4c1e27a001ad8999d6701cda86ee Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/meta/qtc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/lua/meta/qtc.lua b/src/plugins/lua/meta/qtc.lua
index 8d9d858d501..bfcfd457eb8 100644
--- a/src/plugins/lua/meta/qtc.lua
+++ b/src/plugins/lua/meta/qtc.lua
@@ -21,6 +21,8 @@ Qtc = {}
---@field DisabledByDefault? boolean Whether the plugin is disabled by default or not. ( Default: true )
---@field setup function The setup function of the plugin.
---@field hooks? Hooks The hooks of the plugin.
+---@field Mimetypes? string XML MIME-info for registering additional or adapting built-in MIME types.
+---@field JsonWizardPaths? string[] A list of paths relative to the plugin location or paths to the Qt resource system that are searched for template-based wizards.
QtcPlugin = {}
---@class QtcPluginDependency