aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/componentsplugin/componentsplugin.qbs
blob: 5cb6f7091186504619f24c738e5d44a8932e97c4 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
import qbs

QtcProduct {
    name: "componentsplugin"
    type: ["dynamiclibrary"]
    installDir: project.ide_plugin_path + '/' + installDirName
    property string installDirName: qbs.targetOS.contains("osx") ? "QmlDesigner" : "qmldesigner"

    Depends { name: "Core" }
    Depends { name: "QmlDesigner" }
    Depends { name: "Utils" }
    Depends { name: "Qt.qml" }

    cpp.defines: base.concat("COMPONENTS_LIBRARY")
    cpp.includePaths: base.concat([
        "..",
        "../components/componentcore",
        "../components/debugview",
        "../components/formeditor",
        "../components/importmanager",
        "../components/integration",
        "../components/itemlibrary",
        "../components/navigator",
        "../components/propertyeditor",
        "../components/stateseditor",
        "../designercore",
        "../designercore/include",
        "../../../../share/qtcreator/qml/qmlpuppet/interfaces",
        "../../../../share/qtcreator/qml/qmlpuppet/types",
    ])

    Group {
        name: "controls"
        files: ["Controls/*.qml"]
    }

    Group {
        name: "images"
        files: ["images/*.png"]
    }

    Group {
        name: "plugin metadata"
        files: ["componentsplugin.json"]
        fileTags: ["qt_plugin_metadata"]
    }

    files: [
        "addtabdesigneraction.cpp",
        "addtabdesigneraction.h",
        "addtabtotabviewdialog.ui",
        "addtabtotabviewdialog.cpp",
        "addtabtotabviewdialog.h",
        "components.metainfo",
        "componentsplugin.cpp",
        "componentsplugin.h",
        "componentsplugin.qrc",
        "entertabdesigneraction.cpp",
        "entertabdesigneraction.h",
        "tabviewindexmodel.cpp",
        "tabviewindexmodel.h",
        "../designercore/include/iwidgetplugin.h",
    ]
}