more Qt5 compatibility