diff -r 56cd8111b7f7 -r 41300fa6a67c tests/qtp/qtp_star/main.cpp --- 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 + +#include +#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)