aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-04-25 09:16:03 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-04-29 12:03:27 +0000
commit8be20fcc371ee3c9fd9bca5fe1b1670c9ef5de18 (patch)
treecc8c38ff355a4874844afef2bddc18a26014d01c
parent63a646af9b9b4828ad9638f0a8e7477b67575851 (diff)
Wizards: Fix Quick UI wizard by adding a kit selection page
Avoids configuring the Quick UI template always with the default kit even if it does not match the minimum requirements. Change-Id: I2a0d83346e53c2388c8c2ba41e9409fcb52beea8 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json
index 7d059b8d4c..8a726cc09c 100644
--- a/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json
+++ b/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json
@@ -130,6 +130,16 @@
]
},
{
+ "trDisplayName": "Kit Selection",
+ "trShortTitle": "Kits",
+ "typeId": "Kits",
+ "enabled": "%{JS: ! %{IsSubproject}}",
+ "data": {
+ "projectFilePath": "%{QmlProjectFileName}",
+ "requiredFeatures": [ "QtSupport.Wizards.FeatureQt", "%{QtQuickFeature}" ]
+ }
+ },
+ {
"trDisplayName": "Project Management",
"trShortTitle": "Summary",
"typeId": "Summary"