more qt5 compatibility