After waiting for all the 3rd party code to be downloaded and built, Qt errors out with:
./qiosurfacegraphicsbuffer.h:54:32: error: use of undeclared identifier 'CGColorSpaceRef'
void setColorSpace(QCFType<CGColorSpaceRef> colorSpace);
qiosurfacegraphicsbuffer.mm:90:32: error: out-of-line definition of 'setColorSpace' does not match any declaration in 'QIOSurfaceGraphicsBuffer'
void QIOSurfaceGraphicsBuffer::setColorSpace(QCFType<CGColorSpaceRef> colorSpace)
^~~~~~~~~~~~~
This looks like it is a Qt issue with macOS, there's another bug for this exact error on the vcpkg repo. They fixed it with a patch.
The latest commit is 84821ca. This is on macOS 12.1.