diff options
author | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2014-10-15 18:17:36 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@theqtcompany.com> | 2014-11-03 09:44:24 +0100 |
commit | 86d7a980ffc560160a7e9942a77b7d106025b9ae (patch) | |
tree | d74dc4e091fd80523ba0f274ec20f3891efc77bd /share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json | |
parent | b360e73f6add589b8ab9b07396a6c9ace687db7d (diff) | |
download | qt-creator-86d7a980ffc560160a7e9942a77b7d106025b9ae.tar.gz |
JsonWizard: Replace EmptyProjectWizard with a JsonWizard
Change-Id: Ia199a04b535535722a3b47a9651b16635b019cbf
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json')
-rw-r--r-- | share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json b/share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json new file mode 100644 index 0000000000..5fe5ceb380 --- /dev/null +++ b/share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json @@ -0,0 +1,52 @@ +{ + "version": 1, + "kind": "project", + "id": "U.QtEmpty", + "category": "H.Project", + "trDescription": "Creates a qmake-based project without any files. This allows you to create an application without any default classes.", + "trDisplayName": "Empty qmake Project", + "trDisplayCategory": "Other Project", + "icon": "../../../global/guiapplication.png", + "featuresRequired": [ "Plugin.QmakeProjectManager", "QtSupport.Wizards.FeatureQt" ], + + "options": + [ + { "key": "ProFileName", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'pro')}" }, + { "key": "IsTopLevelProject", "value": "%{JS: ('%{Exists:ProjectExplorer.Profile.Ids}') ? '' : 'yes'}" } + ], + + "pages": + [ + { + "trDisplayName": "Project Location", + "trShortTitle": "Location", + "typeId": "Project" + }, + { + "trDisplayName": "Kits", + "trShortTitle": "Kits", + "typeId": "Kits", + "enabled": "%{IsTopLevelProject}", + "data": { "projectFilePath": "%{ProFileName}" } + }, + { + "trDisplayName": "Project Management", + "trShortTitle": "Summary", + "typeId": "Summary" + } + ], + "generators": + [ + { + "typeId": "File", + "data": + [ + { + "source": "file.pro", + "target": "%{ProFileName}", + "openAsProject": true + } + ] + } + ] +} |