~ahayzen/+junk/bottom-edge-preload

1 by Andrew Hayzen
* Bottom edge preload and url don't work together demo
1
# This is the basic qmake template for the Ubuntu-SDK
2
# it handles creation and installation of the manifest
3
# file and takes care of subprojects
4
TEMPLATE = subdirs
5
6
#load Ubuntu specific features
7
load(ubuntu-click)
8
9
SUBDIRS += bottom-edge-preload
10
11
# specify the manifest file, this file is required for click
12
# packaging and for the IDE to create runconfigurations
13
UBUNTU_MANIFEST_FILE=manifest.json.in
14
15
# specify translation domain, this must be equal with the
16
# app name in the manifest file
17
UBUNTU_TRANSLATION_DOMAIN="bottom-edge-preload.ahayzen"
18
19
# specify the source files that should be included into
20
# the translation file, from those files a translation
21
# template is created in po/template.pot, to create a
22
# translation copy the template to e.g. de.po and edit the sources
23
UBUNTU_TRANSLATION_SOURCES+= \
24
    $$files(*.qml,true) \
25
    $$files(*.js,true) \
26
    $$files(*.desktop,true)
27
28
# specifies all translations files and makes sure they are
29
# compiled and installed into the right place in the click package
30
UBUNTU_PO_FILES+=$$files(po/*.po)
31
32
aptest.target   = autopilot
33
aptest.commands = bash $$PWD/bottom-edge-preload/tests/autopilot/run
34
aptest.depends  = sub-bottom-edge-preload
35
36
unittest.target   = check
37
unittest.commands = /usr/bin/qmltestrunner -input $$PWD/bottom-edge-preload/tests/unit 
38
unittest.depends  = sub-bottom-edge-preload
39
40
QMAKE_EXTRA_TARGETS += aptest unittest
41