aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/sanity/sanity.pro2
-rw-r--r--tests/benchmarks/creationtime/creationtime.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/sanity/sanity.pro b/tests/auto/sanity/sanity.pro
index 15f2679a..6eb87e37 100644
--- a/tests/auto/sanity/sanity.pro
+++ b/tests/auto/sanity/sanity.pro
@@ -5,7 +5,7 @@ QT += qml testlib core-private qml-private
CONFIG += testcase
osx:CONFIG -= app_bundle
-DEFINES += QQC2_IMPORT_PATH=\\\"$$absolute_path(../../../src/imports)\\\"
+DEFINES += QQC2_IMPORT_PATH=\\\"$$QQC2_SOURCE_TREE/src/imports\\\"
SOURCES += \
$$PWD/tst_sanity.cpp
diff --git a/tests/benchmarks/creationtime/creationtime.pro b/tests/benchmarks/creationtime/creationtime.pro
index 4383a759..17f428ad 100644
--- a/tests/benchmarks/creationtime/creationtime.pro
+++ b/tests/benchmarks/creationtime/creationtime.pro
@@ -5,7 +5,7 @@ QT += qml testlib
CONFIG += testcase
osx:CONFIG -= app_bundle
-DEFINES += QQC2_IMPORT_PATH=\\\"$$absolute_path(../../../src/imports)\\\"
+DEFINES += QQC2_IMPORT_PATH=\\\"$$QQC2_SOURCE_TREE/src/imports\\\"
SOURCES += \
tst_creationtime.cpp