aboutsummaryrefslogtreecommitdiffstats
path: root/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2018-11-14 12:40:53 +0100
committerEike Ziller <eike.ziller@qt.io>2018-11-29 15:36:24 +0000
commit2e062d8985674e90b3e704cc9b5195a85eab3ebc (patch)
tree0b600377fa26420793b40d28742370c11046c978 /share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json
parent66ed57ce3eb50983c58eb1877bc6cc37df58eb9a (diff)
Fix Qt Quick wizards with Qt 5.12 / ECMAScript 7
The expression that we used either worked in ECMAScript 6, or only accidentally worked in QJSEngine in Qt 5.11. Fixes: QTCREATORBUG-21476 Change-Id: Id2ce0932ead24c8caef9a82b10a173dfdcf1e927 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> (cherry picked from commit 2bf9333e4c8a80c4ed98df59bb6cb119d7efdd8b)
Diffstat (limited to 'share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json')
-rw-r--r--share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json20
1 files changed, 10 insertions, 10 deletions
diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json
index dec5441fa9..cc32217210 100644
--- a/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json
+++ b/share/qtcreator/templates/wizards/projects/qtquickapplication/stack/wizard.json
@@ -88,47 +88,47 @@
{
"trKey": "Qt 5.11",
"value":
- "{
+ "({
'QtQuickVersion': '2.11',
'QtQuickControlsVersion': '2.4',
'QtQuickVirtualKeyboardImport': 'QtQuick.VirtualKeyboard 2.3'
- }"
+ })"
},
{
"trKey": "Qt 5.10",
"value":
- "{
+ "({
'QtQuickVersion': '2.10',
'QtQuickControlsVersion': '2.3',
'QtQuickVirtualKeyboardImport': 'QtQuick.VirtualKeyboard 2.3'
- }"
+ })"
},
{
"trKey": "Qt 5.9",
"value":
- "{
+ "({
'QtQuickVersion': '2.9',
'QtQuickControlsVersion': '2.2',
'QtQuickVirtualKeyboardImport': 'QtQuick.VirtualKeyboard 2.2'
- }"
+ })"
},
{
"trKey": "Qt 5.8",
"value":
- "{
+ "({
'QtQuickVersion': '2.8',
'QtQuickControlsVersion': '2.1',
'QtQuickVirtualKeyboardImport': 'QtQuick.VirtualKeyboard 2.1'
- }"
+ })"
},
{
"trKey": "Qt 5.7",
"value":
- "{
+ "({
'QtQuickVersion': '2.7',
'QtQuickControlsVersion': '2.0',
'QtQuickVirtualKeyboardImport': 'QtQuick.VirtualKeyboard 2.1'
- }"
+ })"
}
]
}