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:
parent
b46d8240ea
commit
1668c47608
@ -1920,6 +1920,6 @@ void tst_Moc::redefinedNames()
|
||||
}
|
||||
|
||||
|
||||
QTEST_APPLESS_MAIN(tst_Moc)
|
||||
QTEST_MAIN(tst_Moc)
|
||||
#include "tst_moc.moc"
|
||||
|
||||
|
@ -361,6 +361,6 @@ void tst_rcc::cleanupTestCase()
|
||||
QFile::remove(entry.absoluteFilePath());
|
||||
}
|
||||
|
||||
QTEST_APPLESS_MAIN(tst_rcc)
|
||||
QTEST_MAIN(tst_rcc)
|
||||
|
||||
#include "tst_rcc.moc"
|
||||
|
@ -210,5 +210,5 @@ QString tst_uic::workingDir() const
|
||||
return QDir::cleanPath(SRCDIR);
|
||||
}
|
||||
|
||||
QTEST_APPLESS_MAIN(tst_uic)
|
||||
QTEST_MAIN(tst_uic)
|
||||
#include "tst_uic.moc"
|
||||
|
Loading…
Reference in New Issue
Block a user