Replace qt dependency by qt4