more qt5 fixes