summaryrefslogtreecommitdiffstats
path: root/src/printsupport/configure.json
blob: e8cec22c0993ebdb945bfe4b4f41036a0ca22f9b (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
98
99
100
101
{
    "module": "printsupport",
    "depends": [
        "core",
        "gui",
        "widgets"
    ],
    "testDir": "../../config.tests",

    "commandline": {
        "options": {
            "cups": "boolean"
        }
    },

    "libraries": {
        "cups": {
            "label": "CUPS",
            "test": {
                "include": "cups/cups.h",
                "main": "cupsGetNamedDest(CUPS_HTTP_DEFAULT, NULL, NULL);  // CUPS 1.4 test"
            },
            "sources": [
                "-lcups"
            ]
        }
    },

    "features": {
        "cups": {
            "label": "CUPS",
            "purpose": "Provides support for the Common Unix Printing System.",
            "section": "Painting",
            "condition": "libs.cups && features.printer && features.datestring",
            "output": [ "privateFeature", "feature" ]
        },
        "cupsjobwidget": {
            "label": "CUPS job control widget",
            "section": "Widgets",
            "condition": [
                "features.calendarwidget",
                "features.checkbox",
                "features.combobox",
                "features.cups",
                "features.datetimeedit",
                "features.groupbox",
                "features.tablewidget"
            ],
            "output": [ "privateFeature", "feature" ]
        },
        "printer": {
            "label": "QPrinter",
            "purpose": "Provides a printer backend of QPainter.",
            "section": "Painting",
            "condition": "!config.uikit && !config.winrt && features.picture && features.temporaryfile && features.pdf",
            "output": [ "publicFeature", "feature" ]
        },
        "printpreviewwidget": {
            "label": "QPrintPreviewWidget",
            "purpose": "Provides a widget for previewing page layouts for printer output.",
            "section": "Widgets",
            "condition": "features.graphicsview && features.printer && features.mainwindow",
            "output": [ "publicFeature", "feature" ]
        },
        "printdialog": {
            "label": "QPrintDialog",
            "purpose": "Provides a dialog widget for specifying printer configuration.",
            "section": "Dialogs",
            "condition": [
                "features.buttongroup",
                "features.checkbox",
                "features.combobox",
                "features.dialog",
                "features.datetimeedit",
                "features.dialogbuttonbox",
                "features.printer",
                "features.radiobutton",
                "features.spinbox",
                "features.tabwidget",
                "features.treeview"
            ],
            "output": [ "publicFeature", "feature" ]
        },
        "printpreviewdialog": {
            "label": "QPrintPreviewDialog",
            "purpose": "Provides a dialog for previewing and configuring page layouts for printer output.",
            "section": "Dialogs",
            "condition": "features.printpreviewwidget && features.printdialog && features.toolbar && features.formlayout",
            "output": [ "publicFeature", "feature" ]
        }
    },

    "summary": [
        {
            "section": "Qt PrintSupport",
            "entries": [
                "cups"
            ]
        }
    ]
}