summaryrefslogtreecommitdiff
path: root/lib/qtcreator/qtcomponents/custom/components.pro
blob: 15e7873b8d96517a0ba1f36e76f9d588c6f80a62 (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
TEMPLATE = subdirs # XXX: Avoid call the linker
TARGETPATH = Qt/labs/components/custom

symbian {
    INSTALL_IMPORTS = /resource/qt/imports
} else {
    INSTALL_IMPORTS = $$[QT_INSTALL_IMPORTS]
}

QML_FILES = \
        qmldir \
        BasicButton.qml \
        BusyIndicator.qml \
        ButtonBlock.qml \
        ButtonColumn.qml \
        ButtonRow.qml \
        ButtonGroup.js \
        Button.qml \
        CheckBox.qml \
        ChoiceList.qml \
        ProgressBar.qml \
        RadioButton.qml \
        ScrollDecorator.qml \
        ScrollIndicator.qml \
        Slider.qml \
        SpinBox.qml \
        Switch.qml \
        TextArea.qml \
        TextField.qml

QML_DIRS = \
        behaviors \
        private \
        styles \
        visuals

qmlfiles.files = $$QML_FILES
lessThan(QT_MAJOR_VERSION, 5):qmlfiles.sources = $$QML_FILES
qmlfiles.path = $$INSTALL_IMPORTS/$$TARGETPATH

qmldirs.files = $$QML_DIRS
lessThan(QT_MAJOR_VERSION, 5):qmldirs.sources = $$QML_DIRS
qmldirs.path = $$INSTALL_IMPORTS/$$TARGETPATH

INSTALLS += qmlfiles qmldirs

symbian {
    DEPLOYMENT += qmlfiles qmldirs
}