-
Notifications
You must be signed in to change notification settings - Fork 1
/
LiveMetronome.pro
89 lines (75 loc) · 1.98 KB
/
LiveMetronome.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
TEMPLATE = app
# Application type
DEFINES += COMMERCIAL_VERSION
QT += qml quick multimedia
CONFIG += c++11
include(deployment.pri)
SOURCES += \
src/main.cpp \
src/usersettings.cpp \
src/song.cpp \
src/platform.cpp \
src/metronome.cpp \
src/audiostream.cpp \
src/songslistmodel.cpp \
src/application.cpp \
src/setlist.cpp \
src/platformattributes.cpp
HEADERS += \
src/usersettings.h \
src/song.h \
src/platform.h \
src/metronome.h \
src/audiostream.h \
src/songslistmodel.h \
src/application.h \
src/setlist.h \
src/platformattributes.h
RESOURCES += \
qml.qrc \
translations.qrc \
audio.qrc
sounds.source = sounds
DEPLOYMENTFOLDERS += sounds
OTHER_FILES += \
qml/* \
qml/controls/* \
qml/components/* \
qml/dialogs/* \
qml/pages/* \
qml/pages/MainPage/* \
qml/pages/MoveSongsPage/* \
qml/pages/SetlistPage/* \
qml/debug/*
DISTFILES += \
android/AndroidManifest.xml \
android/gradle/wrapper/gradle-wrapper.jar \
android/gradlew \
android/res/values/libs.xml \
android/build.gradle \
android/gradle/wrapper/gradle-wrapper.properties \
android/gradlew.bat \
android/src/com/livemetronome/MainActivity.java \
android/src/com/livemetronome/PlatformControlRunnable.java
#------------------------------------------------------
# Add translation files
TRANSLATIONS = \
translations/en-US.ts \
translations/fr-FR.ts \
translations/es-ES.ts \
translations/zn-CN.ts \
translations/de-DE.ts
# Ensure QML strings are translated as well
lupdate-only {
SOURCES += $$QML_FILES
}
# Add images after translations to avoid having images in sources
OTHER_FILES += \
qml/images/* \
qml/images/black/*
#------------------------------------------------------
# Android specific
android {
QT += androidextras
}
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android