fix with qt5