blob: 6be9b6d6dd2aea2aadb493a5082e80122ba9d8ac (
plain)
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
|
TEMPLATE = app
# The name of your app
TARGET = tst-harbour-unitmaster
CONFIG += qmltestcase
TARGETPATH = /usr/bin
target.path = $$TARGETPATH
DEPLOYMENT_PATH = /usr/share/$$TARGET
qml.path = $$DEPLOYMENT_PATH
extra.path = $$DEPLOYMENT_PATH
extra.files = runTestsOnDevice.sh
# defining QUICK_TEST_SOURCE_DIR here doesn't work QtCreator keeps injecting another definition to command line (from CONFIG += qmltestcase ?)
#DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"\"$${DEPLOYMENT_PATH}/\"\\\"\"
DEFINES += DEPLOYMENT_PATH=\"\\\"\"$${DEPLOYMENT_PATH}/\"\\\"\"
# C++ sources
SOURCES += main.cpp
INSTALLS += target qml extra
# QML files and folders
qml.files = *.qml
|