fix build with qt5

It was compiled with these changes