From fcb2807efaa8c8fbdc01776289300a3542ee2ba5 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Mon, 20 Jun 2022 14:04:04 +0200 Subject: [PATCH] Wizards: Make PySide6 default Change-Id: I6d84261e56dafcd55b7842e140d9c09935df70a8 Reviewed-by: David Schulz Reviewed-by: Christian Stenger --- .../projects/qtforpythonapplication/empty/wizard.json | 6 +++++- .../projects/qtforpythonapplication/mainwindow/wizard.json | 6 +++++- .../qtforpythonapplication/qtquickapplication/wizard.json | 2 +- .../projects/qtforpythonapplication/widget/wizard.json | 6 +++++- .../projects/qtforpythonapplication/widget_gen/wizard.json | 6 +++++- 5 files changed, 21 insertions(+), 5 deletions(-) diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json index 7a032fc0f11..fecabd09428 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json @@ -33,7 +33,11 @@ "name": "PySideVersion", "trDisplayName": "PySide version:", "type": "ComboBox", - "data": { "items": [ "PySide2", "PySide6" ] } + "data": + { + "index": 1, + "items": [ "PySide2", "PySide6" ] + } } ] }, diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json index 1e19a607f71..d9f575ecd9b 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json @@ -34,7 +34,11 @@ "name": "PySideVersion", "trDisplayName": "PySide version:", "type": "ComboBox", - "data": { "items": [ "PySide2", "PySide6" ] } + "data": + { + "index": 1, + "items": [ "PySide2", "PySide6" ] + } }, { "name": "Class", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json index 68051e52f78..7ab73b917f4 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json @@ -39,7 +39,7 @@ "type": "ComboBox", "data": { - "index": 2, + "index": 0, "items": [ { diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json index 6b2bd45565f..b9c96c97886 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json @@ -34,7 +34,11 @@ "name": "PySideVersion", "trDisplayName": "PySide version:", "type": "ComboBox", - "data": { "items": [ "PySide2", "PySide6" ] } + "data": + { + "index": 1, + "items": [ "PySide2", "PySide6" ] + } }, { "name": "Class", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget_gen/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget_gen/wizard.json index 1a2bcec74b4..91572c2bdd2 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget_gen/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget_gen/wizard.json @@ -34,7 +34,11 @@ "name": "PySideVersion", "trDisplayName": "PySide version:", "type": "ComboBox", - "data": { "items": [ "PySide2", "PySide6" ] } + "data": + { + "index": 1, + "items": [ "PySide2", "PySide6" ] + } }, { "name": "Class",