qt4 compatibility