fixed tp for qt5