summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-09-24 17:29:51 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-09-25 08:31:25 +0000
commitca1cee0956a4b987e764982c4b82f9f722915872 (patch)
tree96c6bc90d054eb4a8e80efdc59498e42d2db1ca9
parent2551a20b3c653e7d39c95ac063f1be216f8304eb (diff)
downloadqt-creator-ca1cee0956a4b987e764982c4b82f9f722915872.tar.gz
Wizards: Fix JSON file template for Qt Creator plugin
As of commit aaa8beab88, template files for XML wizards go through Utils::TemplateEngine::processText and thus need to have their backlashes escaped. Fixes: QTCREATORBUG-22945 Change-Id: I33aaa73b66be065f0ba3ed9b45cb8c9558f70d31 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rw-r--r--share/qtcreator/templates/wizards/qtcreatorplugin/MyPlugin.json.in16
1 files changed, 8 insertions, 8 deletions
diff --git a/share/qtcreator/templates/wizards/qtcreatorplugin/MyPlugin.json.in b/share/qtcreator/templates/wizards/qtcreatorplugin/MyPlugin.json.in
index 910746c9fb..68bedd4070 100644
--- a/share/qtcreator/templates/wizards/qtcreatorplugin/MyPlugin.json.in
+++ b/share/qtcreator/templates/wizards/qtcreatorplugin/MyPlugin.json.in
@@ -1,11 +1,11 @@
{
- \"Name\" : \"%PluginName%\",
- \"Version\" : \"0.0.1\",
- \"CompatVersion\" : \"0.0.1\",
- \"Vendor\" : \"%VendorName%\",
- \"Copyright\" : \"%Copyright%\",
- \"License\" : \"%License%\",
- \"Description\" : \"%Description%\",
- \"Url\" : \"%URL%\",
+ \\"Name\\" : \\"%PluginName%\\",
+ \\"Version\\" : \\"0.0.1\\",
+ \\"CompatVersion\\" : \\"0.0.1\\",
+ \\"Vendor\\" : \\"%VendorName%\\",
+ \\"Copyright\\" : \\"%Copyright%\\",
+ \\"License\\" : \\"%License%\\",
+ \\"Description\\" : \\"%Description%\\",
+ \\"Url\\" : \\"%URL%\\",
$$dependencyList
}