summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/examples/tst_examples.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-12 06:23:50 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-12 06:23:50 (GMT)
commit2a89e792eb2b772b8119fc3c0b4b0fba73987d72 (patch)
tree9b9c6f43aac2d5db8cd50b306b955c60b36a9c2e /tests/auto/declarative/examples/tst_examples.cpp
parenta1f2ebcda0ff7904613a0e1ab02e6e9fdfa5b494 (diff)
downloadQt-2a89e792eb2b772b8119fc3c0b4b0fba73987d72.zip
Qt-2a89e792eb2b772b8119fc3c0b4b0fba73987d72.tar.gz
Qt-2a89e792eb2b772b8119fc3c0b4b0fba73987d72.tar.bz2
Fix test on QWS.
Diffstat (limited to 'tests/auto/declarative/examples/tst_examples.cpp')
-rw-r--r--tests/auto/declarative/examples/tst_examples.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/declarative/examples/tst_examples.cpp b/tests/auto/declarative/examples/tst_examples.cpp
index 61ac2d1..6d7e578 100644
--- a/tests/auto/declarative/examples/tst_examples.cpp
+++ b/tests/auto/declarative/examples/tst_examples.cpp
@@ -193,6 +193,10 @@ void tst_examples::examples()
arguments << "-script" << (testdata.exists() ? script : QLatin1String(SRCDIR "/data/dummytest"))
<< "-scriptopts" << "play,testerror,exitoncomplete,exitonfailure"
<< file;
+#ifdef Q_WS_QWS
+ arguments << "-qws";
+#endif
+
QProcess p;
p.start(qmlruntime, arguments);
QVERIFY(p.waitForFinished());