forked from papyros/qml-material
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsrc.pro
More file actions
51 lines (37 loc) · 1.26 KB
/
Copy pathsrc.pro
File metadata and controls
51 lines (37 loc) · 1.26 KB
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
TEMPLATE = lib
TARGET = material
CONFIG += c++11
QT += qml quick
android {
QT += androidextras svg xml
}
HEADERS += plugin.h \
core/device.h \
core/units.h
SOURCES += plugin.cpp \
core/device.cpp \
core/units.cpp
RESOURCES += ../icons/core_icons.qrc
target.path = $$[QT_INSTALL_QML]/Material
material.files += \
components/* \
controls/* \
core/* \
popups/* \
window/*
material.path = $$[QT_INSTALL_QML]/Material
extras.files += extras/*
extras.path = $$[QT_INSTALL_QML]/Material/Extras
listitems.files += listitems/*
listitems.path = $$[QT_INSTALL_QML]/Material/ListItems
styles.files += styles/*
styles.path = $$[QT_INSTALL_QML]/QtQuick/Controls/Styles/Material
qmldir.target = $$OUT_PWD/out/qmldir
qmldir.commands = mkdir -p $$OUT_PWD/out;
qmldir.commands += sed \"s/$$LITERAL_HASH plugin material/plugin material/\" $$PWD/qmldir > $$qmldir.target
qmldir.depends = $$PWD/qmldir
qmldir.path = $$[QT_INSTALL_QML]/Material
qmldir.files = $$qmldir.target
qmldir.CONFIG += no_check_exist
INSTALLS += target material extras listitems styles qmldir
OTHER_FILES += $$material.files $$extras.files $$listitems.files $$styles.files