aboutsummaryrefslogtreecommitdiff
path: root/lib/settings/settings.qbs
blob: aeb502d7615be6e97000d3be2a5482432431c881 (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
import qbs

Project {
    name: "Settings"

    StaticLibrary {
        name: "settings"

        Depends { name: "cpp" }

        cpp.defines: "C_LIKE_CONFIG"
        cpp.cxxLanguageVersion: "c++17"

        files: [
            "configuration.cpp",
            "configuration.h"
        ]
    }

    StaticLibrary {
        name: "settingsDialog"

        Depends { name: "cpp" }

        Depends {
            name: "Qt"
            versionAtLeast: "5.9.0"
            submodules: ["core", "widgets"]
        }

        cpp.cxxLanguageVersion: "c++17"

        files: [
            "settingsdialog.cpp",
            "settingsdialog.h",
            "settingsdialog.ui",
        ]
    }
}