1 Star 0 Fork 0

李泉霏/qtcreate_BRPlugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wizard.json 2.60 KB
一键复制 编辑 原始数据 按行查看 历史
李泉霏 提交于 2018-06-11 13:06 . 初始化
{
"version": 1,
"supportedProjectTypes": [ "Qt4ProjectManager.Qt4Project" ],
"id": "BRINFO Plugins",
"category": "H.Project",
"trDescription": "Creates a qmake-based project without any files. This allows you to create an application without any default classes.",
"trDisplayName": "BRINFO Plugin system",
"trDisplayCategory": "Other Project",
"icon": "../../global/guiapplication.png",
"featuresRequired": [ "QtSupport.Wizards.FeatureQt" ],
"enabled": "%{JS: [ %{Plugins} ].indexOf('QmakeProjectManager') >= 0}",
"options":
[
{ "key": "ProFileName", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'pro')}" },
{ "key": "CppFileName", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'cpp')}" },
{ "key": "HFileName", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'h')}" },
{ "key": "IsTopLevelProject", "value": "%{JS: !'%{Exists:ProjectExplorer.Profile.Ids}'}" }
],
"pages":
[
{
"trDisplayName": "Project Location",
"trShortTitle": "Location",
"typeId": "Project",
"data": { "trDescription": "This wizard creates an empty .pro file." }
},
{
"trDisplayName": "Selection System Path",
"trShortTitle": "Details",
"typeId": "Fields",
"data" :{
"name": "syspath",
"type": "PathChooser",
"trDisplayName": "Path:",
"mandatory": true,
"data":
{
"kind": "existingDirectory",
"basePath": "%{InitialPath}",
"path": "%{InitialPath}"
}
}
},
{
"trDisplayName": "Kit Selection",
"trShortTitle": "Kits",
"typeId": "Kits",
"enabled": "%{IsTopLevelProject}",
"data": { "projectFilePath": "%{ProFileName}" }
},
{
"trDisplayName": "Project Management",
"trShortTitle": "Summary",
"typeId": "Summary"
}
],
"generators":
[
{
"typeId": "File",
"data":
[
{
"source": "myPlugin.pro",
"target": "%{ProFileName}",
"openAsProject": true
},
{
"source": "myPlugin.cpp",
"target": "%{ProjectName}.cpp"
},
{
"source": "myplugin.pluginspec",
"target": "%{ProjectName}.pluginspec"
},
{
"source": "myPlugin.h",
"target": "%{ProjectName}.h"
}
]
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/spring1989/qtcreate_BRPlugin.git
git@gitee.com:spring1989/qtcreate_BRPlugin.git
spring1989
qtcreate_BRPlugin
qtcreate_BRPlugin
master

搜索帮助