some qt4 fixes