Use static QApplication in ui tests.