yet another fix for qt 5 build/package

the new tests needs to be ported.