fix for qt5