Updated for new qt4 and cmake packages