summaryrefslogtreecommitdiff
path: root/examples/opengl/2dpainting/2dpainting.qbs
blob: f245996efce0bad51a05a094cb74474f7910c7c6 (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
import qbs
import qbs.FileInfo

CppApplication {
    name: "2dpainting"
    condition: Qt.widgets.present && Qt.gui.config.opengl

    Depends { name: "Qt.gui"; required: false }
    Depends { name: "Qt.widgets"; required: false }

    files: [
        "glwidget.cpp",
        "glwidget.h",
        "helper.cpp",
        "helper.h",
        "main.cpp",
        "widget.cpp",
        "widget.h",
        "window.cpp",
        "window.h",
    ]

    Group {
        fileTagsFilter: ["application"]
        qbs.install: true
        qbs.installDir: FileInfo.joinPaths(Qt.core.examplesInstallDir, "opengl", "2dpainting")
    }
}