# \[solved\]: superbuild on macOS: only sytem qt5

**URL:** https://discourse.paraview.org/t/solved-superbuild-on-macos-only-sytem-qt5/5137
**Category:** ParaView Support
**Created:** [August 19, 2020, 10:10am UTC](https://discourse.paraview.org/t/solved-superbuild-on-macos-only-sytem-qt5/5137 "2020-08-19T10:10:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Fabian188](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/ecccb3/32.png) [@Fabian188](https://discourse.paraview.org/u/Fabian188)
#### Post date: [August 19, 2020, 10:10am UTC](https://discourse.paraview.org/t/solved-superbuild-on-macos-only-sytem-qt5/5137/1 "2020-08-19T10:10:54Z")

</div>

trying to build superbuild on macOS 10.15 (Catalina) ENABLE\_qt5 fails as it cannot find it on the system. It works with -DQt5\_DIR=/usr/local/Cellar/qt/5.15.0/lib/cmake/Qt5/ with a qt installed via brew.

In APPLE/patches/qt.cmake there is

> superbuild\_add\_project(qt5  
> MUST\_USE\_SYSTEM)

So there is no easy way to include qt5 in a own build?

The question is more out of curiosity than real need (that stuff comes soon :)).

---

<div class="post-metadata">

### Author: ![Fabian188](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/f/ecccb3/32.png) [@Fabian188](https://discourse.paraview.org/u/Fabian188)
#### Post date: [August 19, 2020, 2:26pm UTC](https://discourse.paraview.org/t/solved-superbuild-on-macos-only-sytem-qt5/5137/2 "2020-08-19T14:26:53Z")

</div>

I meanwhile understood that using the system qt5 seems to be the preferred way. So the question can be closed
