fix to qt5