{
    "version": 1,
    "supportedProjectTypes": [ ],
    "id": "F.Resource",
    "category": "R.Qt",
    "trDescription": "Creates a Qt Resource file (.qrc).",
    "trDisplayName": "Qt Resource File",
    "trDisplayCategory": "Qt",
    "iconText": "qrc",
    "enabled": "%{JS: value('Plugins').indexOf('ResourceEditor') >= 0}",

    "options": { "key": "DefaultSuffix", "value": "%{JS: Util.preferredSuffix('application/vnd.qt.xml.resource')}" },

    "pages" :
    [
        {
            "trDisplayName": "Location",
            "trShortTitle": "Location",
            "typeId": "File"
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators" :
    [
        {
            "typeId": "File",
            "data":
            {
                "source": "file.qrc",
                "target": "%{JS: Util.fileName(value('TargetPath'), value('DefaultSuffix'))}",
                "openInEditor": true
            }
        }
    ]
}
