From 61fa3e87046694b3d4c772a49ff341b655c1e796 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 15 Nov 2019 09:00:34 +0100 Subject: [PATCH] Wizards: Fix Qt Quick2 Extension wizard Show kits selection page already while configuring the project via wizard instead of falling back to the target selection after the project had been opened. Regression with 6c9f75ff4a6a98cb45fa48928b1d8ef25d3d14ad. Change-Id: I9bf70f306dde3a570ab4ca3e4380040d6c6e4e23 Reviewed-by: Eike Ziller --- .../wizards/projects/qtquick2-extension/wizard.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json b/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json index b0f9e33ae38..6be8cbff6d0 100644 --- a/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquick2-extension/wizard.json @@ -61,6 +61,16 @@ } ] }, + { + "trDisplayName": "Kit Selection", + "trShortTitle": "Kits", + "typeId": "Kits", + "enabled": "%{JS: !value('IsSubproject')}", + "data": { + "projectFilePath": "%{ProjectFile}", + "requiredFeatures": [ "QtSupport.Wizards.FeatureQt.5"] + } + }, { "trDisplayName": "Project Management", "trShortTitle": "Summary", @@ -84,7 +94,8 @@ }, { "source": "plugin.cpp", - "target": "%{PluginSrc}" + "target": "%{PluginSrc}", + "openInEditor": true }, { "source": "plugin.h",