I fixed this issue by updating my base QT version through vcpkg. I am not sure if this is the only way to do it but I ran vcpkg x-update-baseline.
vcpkg x-update-baseline