Replace QTEST_APPLESS_MAIN with QTEST_MAIN in tests using QProcess

QProcess requires an application object to be created in order to work
correctly on Windows.

Task-number: QTBUG-26023
Task-number: QTBUG-26024
Change-Id: Ifa90946262bc7e2a7df6b6aad54e10b54473fc97
Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
This commit is contained in:
Rohan McGovern 2012-06-05 14:03:35 +10:00 committed by Qt by Nokia
parent b46d8240ea
commit 1668c47608
3 changed files with 3 additions and 3 deletions

View File

@ -1920,6 +1920,6 @@ void tst_Moc::redefinedNames()
} }
QTEST_APPLESS_MAIN(tst_Moc) QTEST_MAIN(tst_Moc)
#include "tst_moc.moc" #include "tst_moc.moc"

View File

@ -361,6 +361,6 @@ void tst_rcc::cleanupTestCase()
QFile::remove(entry.absoluteFilePath()); QFile::remove(entry.absoluteFilePath());
} }
QTEST_APPLESS_MAIN(tst_rcc) QTEST_MAIN(tst_rcc)
#include "tst_rcc.moc" #include "tst_rcc.moc"

View File

@ -210,5 +210,5 @@ QString tst_uic::workingDir() const
return QDir::cleanPath(SRCDIR); return QDir::cleanPath(SRCDIR);
} }
QTEST_APPLESS_MAIN(tst_uic) QTEST_MAIN(tst_uic)
#include "tst_uic.moc" #include "tst_uic.moc"