qtcomponents.qbs 2.16 KB
Newer Older
Joerg Bornemann's avatar
Joerg Bornemann committed
1 2 3 4 5 6 7 8 9 10
import qbs.base 1.0

Product {
    type: ["installed_content"]
    name: "QtComponents"

    Group {
        qbs.installDir: "lib/qtcreator/qtcomponents/"
        fileTags: ["install"]
        files: [
11 12 13 14 15 16 17 18
            "Button.qml",
            "ButtonRow.qml",
            "CheckBox.qml",
            "ChoiceList.qml",
            "ContextMenu.qml",
            "Dial.qml",
            "Frame.qml",
            "GroupBox.qml",
Joerg Bornemann's avatar
Joerg Bornemann committed
19
            "Menu.qml",
20 21 22 23
            "MenuItem.qml",
            "ProgressBar.qml",
            "RadioButton.qml",
            "ScrollArea.qml",
Joerg Bornemann's avatar
Joerg Bornemann committed
24
            "ScrollBar.qml",
25 26 27
            "Slider.qml",
            "SpinBox.qml",
            "SplitterRow.qml",
Joerg Bornemann's avatar
Joerg Bornemann committed
28 29 30
            "Switch.qml",
            "Tab.qml",
            "TabBar.qml",
31
            "TabFrame.qml",
Joerg Bornemann's avatar
Joerg Bornemann committed
32 33
            "TableColumn.qml",
            "TableView.qml",
34 35 36
            "TextArea.qml",
            "TextField.qml",
            "ToolBar.qml",
Joerg Bornemann's avatar
Joerg Bornemann committed
37
            "ToolButton.qml",
38
            "qmldir",
Joerg Bornemann's avatar
Joerg Bornemann committed
39 40 41 42
        ]
    }

    Group {
43
        qbs.installDir: "lib/qtcreator/qtcomponents/custom"
Joerg Bornemann's avatar
Joerg Bornemann committed
44
        fileTags: ["install"]
45
        prefix: "custom/"
Joerg Bornemann's avatar
Joerg Bornemann committed
46
        files: [
47 48 49 50 51 52 53 54 55 56 57 58 59
            "BasicButton.qml",
            "Button.qml",
            "ButtonColumn.qml",
            "ButtonGroup.js",
            "ButtonRow.qml",
            "CheckBox.qml",
            "ChoiceList.qml",
            "GroupBox.qml",
            "ProgressBar.qml",
            "Slider.qml",
            "SpinBox.qml",
            "SplitterRow.qml",
            "TextField.qml",
Orgad Shaneh's avatar
Orgad Shaneh committed
60
            "components.pro",
61
            "qmldir",
Joerg Bornemann's avatar
Joerg Bornemann committed
62 63 64 65
        ]
    }

    Group {
66
        qbs.installDir: "lib/qtcreator/qtcomponents/custom/behaviors"
Joerg Bornemann's avatar
Joerg Bornemann committed
67 68
        fileTags: ["install"]
        files: [
69 70
            "custom/behaviors/ButtonBehavior.qml",
            "custom/behaviors/ModalPopupBehavior.qml",
Joerg Bornemann's avatar
Joerg Bornemann committed
71 72 73 74
        ]
    }

    Group {
75
        qbs.installDir: "lib/qtcreator/qtcomponents/custom/private"
Joerg Bornemann's avatar
Joerg Bornemann committed
76 77
        fileTags: ["install"]
        files: [
78
            "custom/private/ChoiceListPopup.qml",
Joerg Bornemann's avatar
Joerg Bornemann committed
79 80 81 82
        ]
    }

    Group {
83
        qbs.installDir: "lib/qtcreator/qtcomponents/images"
Joerg Bornemann's avatar
Joerg Bornemann committed
84 85
        fileTags: ["install"]
        files: [
86
            "images/folder_new.png",
Joerg Bornemann's avatar
Joerg Bornemann committed
87 88 89 90
        ]
    }
}