Minor updates for qt4