When building qt in depends, on a macOS 13 system, with version 15 of the command line tools, it currently fails to build:
0compiling .moc/moc_qfbscreen_p.cpp
1compiling .moc/moc_qfbvthandler_p.cpp
2gmake[4]: Entering directory '/bitcoin/depends/work/build/aarch64-apple-darwin22.6.0/qt/5.15.5-8525c199952/qtbase/src/widgets'
3uic dialogs/qfiledialog.ui
4dyld[55501]: Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
5 Referenced from: <577DB68A-5C1A-38A3-8285-AC3E88B934FE> /bitcoin/depends/work/build/aarch64-apple-darwin22.6.0/qt/5.15.5-8525c199952/qtbase/bin/uic
6 Expected in: <3EE92404-8FC3-374B-A598-D5C9A8CD64B5> /usr/lib/libc++.1.dylib
7/bin/sh: line 1: 55501 Abort trap: 6 /bitcoin/depends/work/build/aarch64-apple-darwin22.6.0/qt/5.15.5-8525c199952/qtbase/bin/uic dialogs/qfiledialog.ui -o .uic/ui_qfiledialog.h
8compiling kernel/qt_widgets_pch.h
9gmake[4]: *** [Makefile:72588: .uic/ui_qfiledialog.h] Error 134
See discussion in #28543 (comment). May require another patch to Qt.