From 8be20fcc371ee3c9fd9bca5fe1b1670c9ef5de18 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 25 Apr 2019 09:16:03 +0200 Subject: [PATCH] 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 --- .../wizards/projects/qtquickuiprototype/wizard.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json index 7d059b8d4cd..8a726cc09c5 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquickuiprototype/wizard.json @@ -129,6 +129,16 @@ } ] }, + { + "trDisplayName": "Kit Selection", + "trShortTitle": "Kits", + "typeId": "Kits", + "enabled": "%{JS: ! %{IsSubproject}}", + "data": { + "projectFilePath": "%{QmlProjectFileName}", + "requiredFeatures": [ "QtSupport.Wizards.FeatureQt", "%{QtQuickFeature}" ] + } + }, { "trDisplayName": "Project Management", "trShortTitle": "Summary",