ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken. While building ParaView to execute Qt custom apps

Sorry for the delay. For macOS, I suggest downloading binaries from Qt upstream and using them rather than trying to build it from the superbuild. https://download.qt.io/official_releases/qt/