3
CONFIG+=ubuntu_qml_module
5
uri = Ubuntu.Components
6
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
9
qmldir_file.installPath = $$installPath
10
qmldir_file.files = qmldir
13
qml_files.installPath = $$installPath
14
qml_files.files = *.qml
17
js_files.installPath = $$installPath
2
TARGET = UbuntuComponents
3
TARGETPATH = Ubuntu/Components
6
include(plugin/plugin.pri)
21
artwork_files.installPath = $$installPath/artwork
22
artwork_files.files = $$system(find artwork -type f)
24
UBUNTU_QML_MODULE_FILES += qmldir_file qml_files js_files artwork_files
26
plugins_qmltypes.path = $$installPath
27
plugins_qmltypes.files = plugins.qmltypes
28
# Silence spam on stderr due to fonts
29
# https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1256999
30
# https://bugreports.qt-project.org/browse/QTBUG-36243
31
plugins_qmltypes.extra = ALARM_BACKEND=memory $$[QT_INSTALL_BINS]/qmlplugindump -notrelocatable Ubuntu.Components 0.1 ../../ 2>/dev/null > $(INSTALL_ROOT)/$$installPath/plugins.qmltypes
32
INSTALLS += plugins_qmltypes
34
install_subtargets.depends += plugins_qmltypes
9
ARTWORK_FILES = $$system(find artwork -type f)
11
QML_FILES += $$ARTWORK_FILES
14
QML_FILES += 1.0/Button.qml \
20
QML_FILES += 1.1/Button.qml \
27
QML_FILES += 1.2/AbstractButton.qml \
30
1.2/ActivityIndicator.qml \
31
1.2/AnimatedItem.qml \
37
1.2/CrossFadeImage10.qml \
38
1.2/CrossFadeImage11.qml \
40
1.2/DraggingArea.qml \
42
1.2/InputHandler.qml \
45
1.2/MainViewBase.qml \
49
1.2/OptionSelectorDelegate.qml \
50
1.2/OptionSelector.qml \
51
1.2/OrientationHelper.qml \
54
1.2/PageHeadConfiguration.qml \
55
1.2/PageHeadSections.qml \
56
1.2/PageHeadState.qml \
58
1.2/PageTreeNode.qml \
60
1.2/PageWrapperUtils.js \
62
1.2/PullToRefresh.qml \
64
1.2/scrollbarUtils.js \
75
1.2/TextInputPopover.qml \
76
1.2/ToolbarButton.qml \
77
1.2/ToolbarItems.qml \
79
1.2/UbuntuListView11.qml \
80
1.2/UbuntuListView.qml \
81
1.2/UbuntuNumberAnimation.qml
84
QML_FILES += 1.3/AbstractButton.qml \
88
1.3/ActivityIndicator.qml \
89
1.3/AnimatedItem.qml \
95
1.3/CrossFadeImage.qml \
96
1.3/DraggingArea.qml \
98
1.3/InputHandler.qml \
100
1.3/MainViewBase.qml \
102
1.3/OptionSelectorDelegate.qml \
103
1.3/OptionSelector.qml \
104
1.3/OrientationHelper.qml \
105
1.3/PageHeadConfiguration.qml \
106
1.3/PageHeadSections.qml \
107
1.3/PageHeadState.qml \
110
1.3/PageTreeNode.qml \
112
1.3/PageWrapper.qml \
114
1.3/ProgressBar.qml \
115
1.3/PullToRefresh.qml \
126
1.3/TextInputPopover.qml \
127
1.3/ToolbarButton.qml \
128
1.3/ToolbarItems.qml \
130
1.3/UbuntuColors.qml \
131
1.3/UbuntuListView11.qml \
132
1.3/UbuntuListView.qml \
133
1.3/UbuntuNumberAnimation.qml \
134
1.3/ListItemPopover.qml \
135
1.3/BottomEdgeHint.qml
137
OTHER_FILES+= 1.3/CrossFadeImage.qdoc \
138
1.3/UbuntuListView11.qdoc \
140
1.3/PageHeadConfiguration.qdoc \
144
load(ubuntu_qml_plugin)