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

**URL:** https://discourse.paraview.org/t/error-cannot-compile-a-minimal-program-the-toolchain-or-qmakespec-is-broken-while-building-paraview-to-execute-qt-custom-apps/3053
**Category:** ParaView Support
**Created:** [November 26, 2019, 5:22pm UTC](https://discourse.paraview.org/t/error-cannot-compile-a-minimal-program-the-toolchain-or-qmakespec-is-broken-while-building-paraview-to-execute-qt-custom-apps/3053 "2019-11-26T17:22:55Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [March 20, 2020, 6:41pm UTC](https://discourse.paraview.org/t/error-cannot-compile-a-minimal-program-the-toolchain-or-qmakespec-is-broken-while-building-paraview-to-execute-qt-custom-apps/3053/2 "2020-03-20T18:41:34Z")

</div>

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/](https://download.qt.io/official_releases/qt/)

---

_[View the full topic](https://discourse.paraview.org/t/error-cannot-compile-a-minimal-program-the-toolchain-or-qmakespec-is-broken-while-building-paraview-to-execute-qt-custom-apps/3053)._
