this may be needed for qt4