summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2010-02-23 12:32:48 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2010-02-23 12:32:48 (GMT)
commitfcd4c0dce69e22487d9141f3bf5de6d4c56a3432 (patch)
treeff1975b64257e1a9f57672e5599c087b4575160f /tests/benchmarks/declarative
parent743720c2d391f73bc376c337002c15cfa119139b (diff)
downloadQt-fcd4c0dce69e22487d9141f3bf5de6d4c56a3432.zip
Qt-fcd4c0dce69e22487d9141f3bf5de6d4c56a3432.tar.gz
Qt-fcd4c0dce69e22487d9141f3bf5de6d4c56a3432.tar.bz2
Fixing deployment on Symbian platform
Reviewed-by: TrustMe
Diffstat (limited to 'tests/benchmarks/declarative')
-rw-r--r--tests/benchmarks/declarative/creation/creation.pro9
-rw-r--r--tests/benchmarks/declarative/creation/tst_creation.cpp6
2 files changed, 13 insertions, 2 deletions
diff --git a/tests/benchmarks/declarative/creation/creation.pro b/tests/benchmarks/declarative/creation/creation.pro
index fcc2987..3e0caf6 100644
--- a/tests/benchmarks/declarative/creation/creation.pro
+++ b/tests/benchmarks/declarative/creation/creation.pro
@@ -6,5 +6,10 @@ macx:CONFIG -= app_bundle
SOURCES += tst_creation.cpp
-DEFINES += SRCDIR=\\\"$$PWD\\\"
-
+symbian* {
+ data.sources = data/*
+ data.path = data
+ DEPLOYMENT += addFiles
+} else {
+ DEFINES += SRCDIR=\\\"$$PWD\\\"
+} \ No newline at end of file
diff --git a/tests/benchmarks/declarative/creation/tst_creation.cpp b/tests/benchmarks/declarative/creation/tst_creation.cpp
index 23c820c..b99031a 100644
--- a/tests/benchmarks/declarative/creation/tst_creation.cpp
+++ b/tests/benchmarks/declarative/creation/tst_creation.cpp
@@ -49,6 +49,12 @@
#include <QmlGraphicsItem>
#include <private/qobject_p.h>
+#ifdef Q_OS_SYMBIAN
+// In Symbian OS test data is located in applications private dir
+// Application private dir is default serach path for files, so SRCDIR can be set to empty
+#define SRCDIR ""
+#endif
+
class tst_creation : public QObject
{
Q_OBJECT