summaryrefslogtreecommitdiff
path: root/tests/shared/util.pri
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shared/util.pri')
-rw-r--r--tests/shared/util.pri10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shared/util.pri b/tests/shared/util.pri
new file mode 100644
index 0000000..b54897a
--- /dev/null
+++ b/tests/shared/util.pri
@@ -0,0 +1,10 @@
+
+INCLUDEPATH += $$PWD
+HEADERS += $$PWD/util.h
+SOURCES += $$PWD/util.cpp
+
+android|ios {
+ DEFINES += QT_QMLTEST_DATADIR=\\\":/data\\\"
+} else {
+ DEFINES += QT_QMLTEST_DATADIR=\\\"$${_PRO_FILE_PWD_}/data\\\"
+}