forked from dawndiy/recorder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRecorder.pro
67 lines (52 loc) · 1.47 KB
/
Recorder.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
TEMPLATE = app
TARGET = Recorder
load(ubuntu-click)
QT += qml quick multimedia
SOURCES += main.cpp \
audiorecorder.cpp
RESOURCES += Recorder.qrc
QML_FILES += $$files(*.qml,true) \
$$files(*.js,true)
CONF_FILES += Recorder.apparmor \
Recorder.png \
Recorder-splash.png \
Recorder-content.json
IMAGE_FILES += $$files(*.png,true)
AP_TEST_FILES += tests/autopilot/run \
$$files(tests/*.py,true)
#show all the files in QtCreator
OTHER_FILES += $${CONF_FILES} \
$${QML_FILES} \
$${AP_TEST_FILES} \
$${IMAGE_FILES} \
Recorder.desktop
#specify where the config files are installed to
config_files.path = /Recorder
config_files.files += $${CONF_FILES}
INSTALLS+=config_files
#install the desktop file, a translated version is
#automatically created in the build directory
desktop_file.path = /Recorder
desktop_file.files = $$OUT_PWD/Recorder.desktop
desktop_file.CONFIG += no_check_exist
INSTALLS+=desktop_file
# Default rules for deployment.
SNAP_APP {
target.path = /bin
} else {
target.path = $${UBUNTU_CLICK_BINARY_PATH}
}
INSTALLS+=target
DISTFILES += \
ui/HomePage.qml \
ui/SettingsPage.qml \
ui/RecordsPage.qml \
ui/AboutPage.qml \
ui/SelectionPage.qml \
ui/DonatePage.qml \
ui/IntroPage.qml \
component/ListItemHeader.qml \
component/HeaderButton.qml \
component/SnackBar.qml
HEADERS += \
audiorecorder.h