-
Notifications
You must be signed in to change notification settings - Fork 8
/
components.pro
74 lines (60 loc) · 1.74 KB
/
components.pro
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
65
66
67
68
69
70
71
72
73
74
TEMPLATE = lib
TARGET = components
QT += qml quick
android {
QT += androidextras
SOURCES += \
src/jniutils.cpp
HEADERS += \
src/jniutils.h
CONFIG -= android_install
}
CONFIG += qt plugin
TARGET = $$qtLibraryTarget($$TARGET)
uri = com.iktwo.components
SOURCES += \
src/components_plugin.cpp \
src/screenvalues.cpp \
src/updatechecker.cpp \
src/connectivitymanager.cpp \
src/packagemanager.cpp \
src/downloadmanager.cpp \
src/applicationinfo.cpp
HEADERS += \
src/components_plugin.h \
src/screenvalues.h \
src/updatechecker.h \
src/connectivitymanager.h \
src/packagemanager.h \
src/downloadmanager.h \
src/applicationinfo.h
OTHER_FILES = qmldir \
qml/Dialog.qml \
qml/FlatButtonStyle.qml \
qml/ImageButton.qml \
qml/ItemHighlighter.qml \
qml/Page.qml \
qml/SubtractMask.qml \
qml/Theme.qml \
qml/TitleBar.qml \
qml/UpdateDialog.qml \
README.md \
components.qmltypes
qmlfiles.path = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)/qml
qmlfiles.files += $$files(qml/*)
plugininfo.path = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)/
plugininfo.files += components.qmltypes
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
copy_qmldir.target = $$OUT_PWD/qmldir
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_qmldir
PRE_TARGETDEPS += $$copy_qmldir.target
}
unix {
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
qmldir.files += qmldir
qmldir.path = $$installPath
target.path = $$installPath
INSTALLS += target qmldir qmlfiles plugininfo
}