summaryrefslogtreecommitdiff
path: root/share/qtcreator/templates/wizards/projects/qmake/empty/wizard.json
blob: 5fe5ceb380d71620338372afbc59e2d532360a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
    "version": 1,
    "kind": "project",
    "id": "U.QtEmpty",
    "category": "H.Project",
    "trDescription": "Creates a qmake-based project without any files. This allows you to create an application without any default classes.",
    "trDisplayName": "Empty qmake Project",
    "trDisplayCategory": "Other Project",
    "icon": "../../../global/guiapplication.png",
    "featuresRequired": [ "Plugin.QmakeProjectManager", "QtSupport.Wizards.FeatureQt" ],

    "options":
    [
        { "key": "ProFileName", "value": "%{JS: Util.fileName('%{ProjectDirectory}/%{ProjectName}', 'pro')}" },
        { "key": "IsTopLevelProject", "value": "%{JS: ('%{Exists:ProjectExplorer.Profile.Ids}') ? '' : 'yes'}" }
    ],

    "pages":
    [
        {
            "trDisplayName": "Project Location",
            "trShortTitle": "Location",
            "typeId": "Project"
        },
        {
            "trDisplayName": "Kits",
            "trShortTitle": "Kits",
            "typeId": "Kits",
            "enabled": "%{IsTopLevelProject}",
            "data": { "projectFilePath": "%{ProFileName}" }
        },
        {
            "trDisplayName": "Project Management",
            "trShortTitle": "Summary",
            "typeId": "Summary"
        }
    ],
    "generators":
    [
        {
            "typeId": "File",
            "data":
            [
                {
                    "source": "file.pro",
                    "target": "%{ProFileName}",
                    "openAsProject": true
                }
            ]
        }
    ]
}