summaryrefslogtreecommitdiffstats
path: root/WebKit/qt/tests/tests.pri
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/qt/tests/tests.pri')
-rw-r--r--WebKit/qt/tests/tests.pri5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebKit/qt/tests/tests.pri b/WebKit/qt/tests/tests.pri
index 187950a..0bdf6f6 100644
--- a/WebKit/qt/tests/tests.pri
+++ b/WebKit/qt/tests/tests.pri
@@ -1,8 +1,9 @@
TEMPLATE = app
CONFIG -= app_bundle
-TARGET = tst_$$TARGET
-SOURCES += $$_PRO_FILE_PWD_/$${TARGET}.cpp
+VPATH += $$_PRO_FILE_PWD_
+!CONFIG(QTDIR_build):TARGET = tst_$$TARGET
+SOURCES += $${TARGET}.cpp
INCLUDEPATH += \
$$PWD \
$$PWD/../Api