qt5: depends on Xcode at build-time

Closes #29503.