moving cmake to qt5