aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp')
-rw-r--r--tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp b/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp
index 9359030ff8..dbf5373599 100644
--- a/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp
+++ b/tests/auto/declarative/qdeclarativeqt/tst_qdeclarativeqt.cpp
@@ -52,6 +52,7 @@
#include <QCryptographicHash>
#include <QSGItem>
#include <QSignalSpy>
+#include "../shared/util.h"
class tst_qdeclarativeqt : public QObject
{
@@ -95,7 +96,7 @@ private:
inline QUrl TEST_FILE(const QString &filename)
{
- return QUrl::fromLocalFile(QLatin1String(SRCDIR) + QLatin1String("/data/") + filename);
+ return QUrl::fromLocalFile(TESTDATA(filename));
}
void tst_qdeclarativeqt::enums()