Add qt4 support