summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@theqtcompany.com>2014-10-15 18:17:36 +0200
committerTobias Hunger <tobias.hunger@theqtcompany.com>2014-11-03 09:44:24 +0100
commit86d7a980ffc560160a7e9942a77b7d106025b9ae (patch)
treed74dc4e091fd80523ba0f274ec20f3891efc77bd /share
parentb360e73f6add589b8ab9b07396a6c9ace687db7d (diff)
downloadqt-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')
-rw-r--r--share/qtcreator/templates/wizards/global/guiapplication.pngbin0 -> 831 bytes
-rw-r--r--share/qtcreator/templates/wizards/projects/qmake/empty/file.pro0
-rw-r--r--share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json52
3 files changed, 52 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/global/guiapplication.png b/share/qtcreator/templates/wizards/global/guiapplication.png
new file mode 100644
index 0000000000..c121959d9e
--- /dev/null
+++ b/share/qtcreator/templates/wizards/global/guiapplication.png
Binary files differ
diff --git a/share/qtcreator/templates/wizards/projects/qmake/empty/file.pro b/share/qtcreator/templates/wizards/projects/qmake/empty/file.pro
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/share/qtcreator/templates/wizards/projects/qmake/empty/file.pro
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
+ }
+ ]
+ }
+ ]
+}