summaryrefslogtreecommitdiff
path: root/examples/opengl/qopenglwidget/qopenglwidget.qbs
blob: 214e74678dd111a1a54aed1ac78ef1511d3435bd (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
import qbs
import qbs.FileInfo

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

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

    files: [
        "bubble.cpp",
        "bubble.h",
        "glwidget.cpp",
        "glwidget.h",
        "main.cpp",
        "mainwindow.cpp",
        "mainwindow.h",
        "texture.qrc",
    ]

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