diff --git a/agent/autotests/collectionquerytest.cpp b/agent/autotests/collectionquerytest.cpp --- a/agent/autotests/collectionquerytest.cpp +++ b/agent/autotests/collectionquerytest.cpp @@ -226,7 +226,7 @@ }; -QTEST_MAIN(CollectionQueryTest) +QTEST_GUILESS_MAIN(CollectionQueryTest) #include "collectionquerytest.moc" diff --git a/agent/autotests/indexertest.cpp b/agent/autotests/indexertest.cpp --- a/agent/autotests/indexertest.cpp +++ b/agent/autotests/indexertest.cpp @@ -153,7 +153,7 @@ } }; -QTEST_MAIN(IndexerTest) +QTEST_GUILESS_MAIN(IndexerTest) #include "indexertest.moc" diff --git a/akonadiplugin/autotests/searchplugintest.cpp b/akonadiplugin/autotests/searchplugintest.cpp --- a/akonadiplugin/autotests/searchplugintest.cpp +++ b/akonadiplugin/autotests/searchplugintest.cpp @@ -1007,7 +1007,7 @@ }; -QTEST_MAIN(SearchPluginTest) +QTEST_GUILESS_MAIN(SearchPluginTest) #include "searchplugintest.moc"