-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathswitch.timsueberkrueb.pro
60 lines (45 loc) · 1.66 KB
/
switch.timsueberkrueb.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
TEMPLATE = app
TARGET = switch.timsueberkrueb
load(ubuntu-click)
QT += qml quick xml svg
SOURCES += src/main.cpp
RESOURCES += src/qml/qml.qrc \
media/media.qrc
QML_FILES += $$files(*.qml,true) \
$$files(*.js,true)
CONF_FILES += click/switch.timsueberkrueb.apparmor \
click/switch.timsueberkrueb.desktop \
icon.png
#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} \
click/switch.timsueberkrueb.desktop
# specify where the config files are installed to
config_files.path = /
config_files.files += $${CONF_FILES}
INSTALLS+=config_files
# default rules for deployment.
target.path = $${UBUNTU_CLICK_BINARY_PATH}
INSTALLS+=target
# specify the manifest file, this file is required for click
# packaging and for the IDE to create runconfigurations
UBUNTU_MANIFEST_FILE=click/manifest.json
# specify translation domain, this must be equal with the
# app name in the manifest file
UBUNTU_TRANSLATION_DOMAIN="switch.timsueberkrueb"
# specify the source files that should be included into
# the translation file, from those files a translation
# switch is created in po/switch.pot, to create a
# translation copy the switch to e.g. de.po and edit the sources
UBUNTU_TRANSLATION_SOURCES+= \
$$files(*.qml,true) \
$$files(*.js,true) \
$$files(*.desktop,true)
# specifies all translations files and makes sure they are
# compiled and installed into the right place in the click package
UBUNTU_PO_FILES+=$$files(po/*.po)
DISTFILES += \
src/qml/qmldir