diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-11-14 12:40:53 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-11-29 15:36:24 +0000 |
commit | 2e062d8985674e90b3e704cc9b5195a85eab3ebc (patch) | |
tree | 0b600377fa26420793b40d28742370c11046c978 /share/qtcreator/templates/wizards/projects/qtquickapplication/scroll | |
parent | 66ed57ce3eb50983c58eb1877bc6cc37df58eb9a (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/scroll')
-rw-r--r-- | share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json b/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json index ed6f876923..6eb62de325 100644 --- a/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtquickapplication/scroll/wizard.json @@ -89,29 +89,29 @@ { "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' - }" + })" } ] } |