summaryrefslogtreecommitdiffstats
path: root/tests/auto/qttest.pri
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qttest.pri')
-rw-r--r--tests/auto/qttest.pri18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/qttest.pri b/tests/auto/qttest.pri
new file mode 100644
index 000000000..f6be301e8
--- /dev/null
+++ b/tests/auto/qttest.pri
@@ -0,0 +1,18 @@
+include(../../installerfw.pri)
+#include(qttestrpath.pri)
+
+isEmpty(TEMPLATE):TEMPLATE=app
+QT += testlib
+CONFIG += qt warn_on console depend_includepath testcase
+CONFIG -= app_bundle
+
+DEFINES -= QT_NO_CAST_FROM_ASCII
+# prefix test binary with tst_
+!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
+
+#win32 {
+# lib = ../../
+# lib ~= s,/,\\,g
+# # the below gets added to later by testcase.prf
+# check.commands = cd . & set PATH=$$lib;%PATH%& cmd /c
+#}