Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.10.0
-
None
-
-
ca1cee0956a4b987e764982c4b82f9f722915872 (qt-creator/qt-creator/4.10)
Description
When creating a QtCreator plugin project one file generated is <pluginname>.json.in which has the content
{{{}}
{{ "Name" : "MyPlugin",}}
{{ "Version" : "0.0.1",}}
{{ "CompatVersion" : "0.0.1",}}
{{ "Vendor" : "MyCompany",}}
{{ "Copyright" : "(C) MyCompany",}}
{{ "License" : "Put your license information here",}}
{{ "Description" : "Put a short description of your plugin here",}}
{{ "Url" : "http://www.mycompany.com",}}
{{ $$dependencyList}}
}
But after compiling a warning appears refering to the generated .json file:
Warning: Plugin Metadata file "MyPlugin.json" does not contain a valid JSON object. Declaration will be ignored
The only way to get ride off this warning is adding a \" (backslash and quote) after each quote (") to compile correctly the plugin and even with that the plugin is not show in the Tools Menu of the QtCreator built from source.
Attachments
Issue Links
- replaces
-
QTCREATORBUG-23057 New Qt Creator plugin has malformed json.in file
- Closed
For Gerrit Dashboard: QTCREATORBUG-22945 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
275080,2 | Wizards: Fix JSON file template for Qt Creator plugin | 4.10 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |