tests/qtp/qtp_star/main.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
--- a/tests/qtp/qtp_star/main.cpp	Tue Jan 26 12:42:25 2010 +0200
+++ b/tests/qtp/qtp_star/main.cpp	Tue Feb 02 00:43:10 2010 +0200
@@ -40,15 +40,9 @@
 ****************************************************************************/
 
 #include <QApplication>
+
+#include <QtTest>
+#include "startest.h"
 #include "starwidget.h"
 
-int main(int argc, char *argv[])
-{
-#ifdef Q_OS_SYMBIAN
-    QApplication::setGraphicsSystem("openvg");
-#endif
-    QApplication app(argc, argv);
-    StarWidget mw;
-    mw.show();
-    return app.exec();
-}
+QTEST_MAIN(starTests)