browser: porting to qt4