Remove the qt remnants in the cmake script