Lua: Small tweak of wizard file

Change-Id: Ifef368aa646589d75f761c9893a18fa77b1b179c
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Christian Stenger
2024-06-18 07:34:45 +02:00
parent c246cb8708
commit 441ce652e7

View File

@@ -1,7 +1,7 @@
{ {
"version": 1, "version": 1,
"supportedProjectTypes": [ "supportedProjectTypes": [
"Qt4ProjectManager.Qt4Project" "ProjectExplorer.WorkspaceProject"
], ],
"id": "R.QtCreatorLuaPlugin", "id": "R.QtCreatorLuaPlugin",
"category": "G.Library", "category": "G.Library",
@@ -9,11 +9,7 @@
"trDisplayName": "Qt Creator Lua Plugin", "trDisplayName": "Qt Creator Lua Plugin",
"trDisplayCategory": "Library", "trDisplayCategory": "Library",
"iconText": "LuaP", "iconText": "LuaP",
"featuresRequired": [ "featuresRequired": [],
"QtSupport.Wizards.FeatureQt",
"QtSupport.Wizards.FeatureDesktop"
],
"enabled": "%{JS: value('Plugins').indexOf('CMakeProjectManager') >= 0}",
"options": [ "options": [
{ {
"key": "ProjectFile", "key": "ProjectFile",
@@ -26,14 +22,6 @@
{ {
"key": "SrcFileName", "key": "SrcFileName",
"value": "init.lua" "value": "init.lua"
},
{
"key": "CN",
"value": "%{JS: Cpp.className(value('PluginName') + 'Plugin')}"
},
{
"key": "HasTranslation",
"value": "%{JS: value('TsFileName') !== ''}"
} }
], ],
"pages": [ "pages": [