summaryrefslogtreecommitdiff
path: root/examples/opengl/qopenglwindow/qopenglwindow.qbs
blob: 4bcfb0d7307aba8047d8b5732ad3f52383d85ce2 (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
import qbs
import qbs.FileInfo

CppApplication {
    name: "qopenglwindow"
    condition: Qt.gui.present && Qt.gui.config.opengl

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

    cpp.includePaths: base.concat(".")

    files: [
        "background_renderer.cpp",
        "background_renderer.h",
        "main.cpp",
        "shaders.qrc",
    ]

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