summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorAleksandar Sasha Babic <aleksandar.babic@nokia.com>2010-02-23 13:12:14 (GMT)
committerAleksandar Sasha Babic <aleksandar.babic@nokia.com>2010-02-23 13:12:14 (GMT)
commit62fc581eb84504d05bca7b70ac3dc912982133d1 (patch)
tree3c126554c06d18216e803cdabffd1c86604a05cc /tests/benchmarks
parent7f3896f6c0cff6c6ddac1fba480dedbbf78c2df1 (diff)
downloadQt-62fc581eb84504d05bca7b70ac3dc912982133d1.zip
Qt-62fc581eb84504d05bca7b70ac3dc912982133d1.tar.gz
Qt-62fc581eb84504d05bca7b70ac3dc912982133d1.tar.bz2
Fixing deployment and default values for Symbian
Reviewed-by: TrustMe
Diffstat (limited to 'tests/benchmarks')
-rw-r--r--tests/benchmarks/declarative/qmltime/qmltime.cpp11
-rw-r--r--tests/benchmarks/declarative/qmltime/qmltime.pro15
2 files changed, 26 insertions, 0 deletions
diff --git a/tests/benchmarks/declarative/qmltime/qmltime.cpp b/tests/benchmarks/declarative/qmltime/qmltime.cpp
index 2cc5d0d..8e312be 100644
--- a/tests/benchmarks/declarative/qmltime/qmltime.cpp
+++ b/tests/benchmarks/declarative/qmltime/qmltime.cpp
@@ -183,7 +183,11 @@ int main(int argc, char ** argv)
}
if (filename.isEmpty())
+#ifdef Q_OS_SYMBIAN
+ filename = QLatin1String("./tests/item_creation/data.qml");
+#else
usage(argv[0]);
+#endif
QmlEngine engine;
QmlComponent component(&engine, filename);
@@ -204,6 +208,9 @@ int main(int argc, char ** argv)
return -1;
}
+#ifdef Q_OS_SYMBIAN
+ willParent = true;
+#endif
timer->setWillParent(willParent);
if (!timer->component()) {
@@ -211,6 +218,10 @@ int main(int argc, char ** argv)
return -1;
}
+#ifdef Q_OS_SYMBIAN
+ iterations = 1024;
+#endif
+
timer->run(iterations);
return 0;
diff --git a/tests/benchmarks/declarative/qmltime/qmltime.pro b/tests/benchmarks/declarative/qmltime/qmltime.pro
index b077d1a..9352f3b 100644
--- a/tests/benchmarks/declarative/qmltime/qmltime.pro
+++ b/tests/benchmarks/declarative/qmltime/qmltime.pro
@@ -6,3 +6,18 @@ macx:CONFIG -= app_bundle
SOURCES += qmltime.cpp
+symbian* {
+ TARGET.CAPABILITY = "All -TCB"
+ example.sources = example.qml
+ esample.path = .
+ tests.sources = tests/*
+ tests.path = tests
+ anshors.sources = tests/anchors/*
+ anchors.path = tests/anchors
+ item_creation.sources = tests/item_creation/*
+ item_creation.path = tests/item_creation
+ positioner_creation.sources = tests/positioner_creation/*
+ positioner_creation.path = tests/positioner_creation
+ DEPLOYMENT += example tests anchors item_creation positioner_creation
+}
+