From ca1cee0956a4b987e764982c4b82f9f722915872 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Tue, 24 Sep 2019 17:29:51 +0200 Subject: 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 --- .../templates/wizards/qtcreatorplugin/MyPlugin.json.in | 16 ++++++++-------- 1 file 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 } -- cgit v1.2.3