From 0450df418933ecbb74a631432c144739a05808ef Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Sat, 7 Dec 2013 17:34:22 +0200 Subject: forgot to add tests.pro --- tests/tests.pro | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/tests.pro diff --git a/tests/tests.pro b/tests/tests.pro new file mode 100644 index 0000000..6be9b6d --- /dev/null +++ b/tests/tests.pro @@ -0,0 +1,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 -- cgit v1.2.3