forked from sailfishos-open/waydroid-runner
/
waydroid-runner.pro
60 lines (45 loc) · 1.23 KB
/
waydroid-runner.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
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = waydroid-runner
# PREFIX
isEmpty(PREFIX) {
PREFIX = /usr
}
target.path = $$PREFIX/bin
CONFIG += sailfishapp sailfishapp_i18n
DEFINES += QT_COMPOSITOR_QUICK
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
QT += quick qml svg
QT += quick-private
QT += dbus
QT += compositor
SOURCES += \
src/main.cpp \
src/qmlcompositor.cpp \
src/runner.cpp
OTHER_FILES += \
qml/main.qml \
qml/MainPage.qml \
qml/WindowContainer.qml \
DISTFILES += \
rpm/waydroid-runner.spec
HEADERS += \
src/qmlcompositor.h \
src/runner.h
icons.files = icons
icons.path = $$PREFIX/share/$${TARGET}
INSTALLS += icons
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256 512x512
DISTFILES += $${TARGET}.desktop
# translations
TRANSLATIONS += \
translations/$${TARGET}-de_DE.ts \