basic qt5 compatibility