Ubuntu Pastebin

Paste from zoltan at Thu, 9 Jun 2016 15:54:48 +0000

Download as text
 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
TEMPLATE = aux
TARGET = untitled

RESOURCES += untitled.qrc

QML_FILES += $$files(*.qml,true) \
             $$files(*.js,true)

CONF_FILES +=  untitled.apparmor \
               untitled.png \
               YOUR_COOL_IMAGE.JPG

AP_TEST_FILES += tests/autopilot/run \
                 $$files(tests/*.py,true)               

OTHER_FILES += $${CONF_FILES} \
               $${QML_FILES} \
               $${AP_TEST_FILES} \
               untitled.desktop

#specify where the qml/js files are installed to
qml_files.path = /untitled
qml_files.files += $${QML_FILES}

#specify where the config files are installed to
config_files.path = /untitled
config_files.files += $${CONF_FILES}

#install the desktop file, a translated version is 
#automatically created in the build directory
desktop_file.path = /untitled
desktop_file.files = $$OUT_PWD/untitled.desktop
desktop_file.CONFIG += no_check_exist

INSTALLS+=config_files qml_files desktop_file
Download as text