diff options
author | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2010-02-23 13:12:14 (GMT) |
---|---|---|
committer | Aleksandar Sasha Babic <aleksandar.babic@nokia.com> | 2010-02-23 13:12:14 (GMT) |
commit | 62fc581eb84504d05bca7b70ac3dc912982133d1 (patch) | |
tree | 3c126554c06d18216e803cdabffd1c86604a05cc /tests | |
parent | 7f3896f6c0cff6c6ddac1fba480dedbbf78c2df1 (diff) | |
download | Qt-62fc581eb84504d05bca7b70ac3dc912982133d1.zip Qt-62fc581eb84504d05bca7b70ac3dc912982133d1.tar.gz Qt-62fc581eb84504d05bca7b70ac3dc912982133d1.tar.bz2 |
Fixing deployment and default values for Symbian
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r-- | tests/benchmarks/declarative/qmltime/qmltime.cpp | 11 | ||||
-rw-r--r-- | tests/benchmarks/declarative/qmltime/qmltime.pro | 15 |
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 +} + |