fix Qt5 test compilation