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>
This commit is contained in:
Christian Kandeler
2019-09-24 17:29:51 +02:00
parent 2551a20b3c
commit ca1cee0956

View File

@@ -1,11 +1,11 @@
{ {
\"Name\" : \"%PluginName%\", \\"Name\\" : \\"%PluginName%\\",
\"Version\" : \"0.0.1\", \\"Version\\" : \\"0.0.1\\",
\"CompatVersion\" : \"0.0.1\", \\"CompatVersion\\" : \\"0.0.1\\",
\"Vendor\" : \"%VendorName%\", \\"Vendor\\" : \\"%VendorName%\\",
\"Copyright\" : \"%Copyright%\", \\"Copyright\\" : \\"%Copyright%\\",
\"License\" : \"%License%\", \\"License\\" : \\"%License%\\",
\"Description\" : \"%Description%\", \\"Description\\" : \\"%Description%\\",
\"Url\" : \"%URL%\", \\"Url\\" : \\"%URL%\\",
$$dependencyList $$dependencyList
} }