summaryrefslogtreecommitdiffstats
path: root/src/widgets/configure.json
blob: 2c1f8b1e6c7bf3e1d2893bd5ecaf812d7dab9398 (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
    "module": "widgets",
    "depends": [
        "core-private",
        "gui"
    ],
    "testDir": "../../config.tests",

    "commandline": {
        "options": {
            "android-style-assets": "boolean",
            "gtk": { "type": "boolean", "name": "gtk3" },
            "style-windows": "boolean",
            "style-windowsxp": "boolean",
            "style-windowsvista": "boolean",
            "style-fusion": "boolean",
            "style-mac": "boolean",
            "style-android": "boolean"
        }
    },

    "libraries": {
        "gtk3": {
            "label": "GTK+",
            "sources": [
                { "type": "pkgConfig", "args": "gtk+-3.0" }
            ]
        }
    },

    "tests": {
        "uxtheme": {
            "label": "uxtheme.h",
            "type": "files",
            "files": [ "uxtheme.h" ]
        }
    },

    "features": {
        "gtk3": {
            "label": "GTK+",
            "autoDetect": "!config.darwin",
            "condition": "features.glib && libs.gtk3",
            "output": [ "privateFeature" ]
        },
        "style-fusion": {
            "label": "Fusion Style",
            "output": [ "styles" ]
        },
        "style-mac": {
            "label": "Mac Style",
            "condition": "config.osx",
            "output": [ "styles" ]
        },
        "style-windows": {
            "label": "Windows Style",
            "output": [ "styles" ]
        },
        "style-windowsxp": {
            "label": "Windows XP Style",
            "condition": "features.style-windows && config.win32 && !config.winrt && tests.uxtheme",
            "output": [ "styles" ]
        },
        "style-windowsvista": {
            "label": "Windows Vista Style",
            "condition": "features.style-windowsxp",
            "output": [ "styles" ]
        },
        "style-android": {
            "label": "Android Style",
            "autoDetect": "config.android",
            "output": [ "styles" ]
        },
        "android-style-assets": {
            "label": "Android Style Assets",
            "condition": "features.style-android",
            "output": [ "privateConfig" ]
        }
    },

    "report": [
    ],

    "summary": [
        {
            "section": "Qt Widgets",
            "entries": [
                "gtk3",
                {
                    "message": "Styles",
                    "type": "featureList",
                    "args": "style-fusion style-mac style-windows style-windowsxp style-windowsvista style-android"
                }
            ]
        }
    ]
}