aa247198 introduced usage of QIcon, making the test segfault when used together with QTEST_GUILESS_MAIN.