Use QTEST_GUILESS_MAIN where applicable

instead of QTEST_MAIN. Reduces the initialization that is done by the Qt
test applications, and can also reduce interference with normal OS
operations like the current window loosing focus.

Change-Id: If88f289281aa1c8703ac7d4dbe0799d067c16588
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Eike Ziller
2022-06-10 12:21:30 +02:00
parent e2e5d67bc3
commit 737877984d
47 changed files with 47 additions and 50 deletions

View File

@@ -319,6 +319,6 @@ void tst_PointerAlgorithm::takeOrDefault()
}
}
QTEST_MAIN(tst_PointerAlgorithm)
QTEST_GUILESS_MAIN(tst_PointerAlgorithm)
#include "tst_pointeralgorithm.moc"