aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests.pro')
-rw-r--r--tests/tests.pro27
1 files changed, 27 insertions, 0 deletions
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