summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2016-07-14 13:37:40 +0200
committerChristian Stenger <christian.stenger@qt.io>2016-07-15 04:38:33 +0000
commit7583557dcc9a61d7f735e8e24bf3673370384af2 (patch)
tree0f3f4bc97e428b6355de0a30fccf752306138d02 /tests
parente43773014a94d2752b96e7648c71914714678bc4 (diff)
downloadqt-creator-7583557dcc9a61d7f735e8e24bf3673370384af2.tar.gz
Tests: Fix test when using shadow build
Change-Id: I82ebdbd63a221802f24b2ef17ca6c076151fba0c Reviewed-by: Marco Benelli <marco.benelli@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp b/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp
index 16d0aa64fc..ef3575d77f 100644
--- a/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp
+++ b/tests/auto/qml/codemodel/dependencies/tst_dependencies.cpp
@@ -113,7 +113,7 @@ private:
void tst_Dependencies::initTestCase()
{
QLoggingCategory::setFilterRules(QLatin1String("qtc.*.debug=false"));
- m_path = QCoreApplication::applicationDirPath() + QLatin1Literal("/samples");
+ m_path = QLatin1Literal(TESTSRCDIR "/samples");
m_basePaths.append(QLibraryInfo::location(QLibraryInfo::Qml2ImportsPath));