qt5 compatibility