summaryrefslogtreecommitdiff
path: root/examples/widgets/tools/undoframework/undoframework.qbs
blob: 949d465cef395e1dd292369f3886afb1fc11d9f2 (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
import qbs
import qbs.FileInfo

CppApplication {
    name: "undoframework"
    condition: Qt.widgets.present && Qt.widgets.config.undoview

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

    files: [
        "commands.cpp",
        "commands.h",
        "diagramitem.cpp",
        "diagramitem.h",
        "diagramscene.cpp",
        "diagramscene.h",
        "main.cpp",
        "mainwindow.cpp",
        "mainwindow.h",
        "undoframework.qrc",
    ]

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