From cc707a981e2ece079bf94c9817e2d42760cae60b Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Thu, 22 Oct 2015 16:48:44 +0200 Subject: .qmake.conf: set QQC2_SOURCE_TREE A tad nicer way to pass the correct path for tests. Change-Id: I0415d64737bbaa6de163e855080ed3a147f547d5 Reviewed-by: Liang Qi --- tests/auto/sanity/sanity.pro | 2 +- tests/benchmarks/creationtime/creationtime.pro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3