remove deprecated qt5 methods in CMakeList files