Add qt4 settings in cmake