summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-03-28 22:32:49 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-03-28 22:32:49 (GMT)
commitffdd3c40413ef933506c040f40e4fb7ecd1ee062 (patch)
tree451b9289c92b8f7eb909cbba2f069e08223600eb /tests/auto
parentbabe81fb9d5735f33a1e3b36c578e6ef8696abfb (diff)
downloadQt-ffdd3c40413ef933506c040f40e4fb7ecd1ee062.zip
Qt-ffdd3c40413ef933506c040f40e4fb7ecd1ee062.tar.gz
Qt-ffdd3c40413ef933506c040f40e4fb7ecd1ee062.tar.bz2
Installed imports are no longer searched relative to caller.
(quoted URL is for that)
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
index adea384..16efba9 100644
--- a/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
+++ b/tests/auto/declarative/qdeclarativedom/tst_qdeclarativedom.cpp
@@ -340,6 +340,7 @@ void tst_qdeclarativedom::loadImports()
"Item {}";
QDeclarativeEngine engine;
+ engine.addImportPath(SRCDIR "/data");
QDeclarativeDomDocument document;
QVERIFY(document.load(&engine, qml, QUrl::fromLocalFile(SRCDIR "/data/dummy.qml")));