compat: change to compile under qt4.7