# Slicer build on macOS Monterey

**URL:** <https://discourse.slicer.org/t/slicer-build-on-macos-monterey/21940>\
**Category:** Support\
**Tags:** build\
**Created:** [February 12, 2022, 6:41pm UTC](https://discourse.slicer.org/t/slicer-build-on-macos-monterey/21940 "2022-02-12T18:41:26Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [February 12, 2022, 8:27pm UTC](https://discourse.slicer.org/t/slicer-build-on-macos-monterey/21940/6 "2022-02-12T20:27:57Z")

</div>

I just configured with this `cmake` line:

```
cmake -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.15 -DCMAKE_BUILD_TYPE:STRING=Debug -DQt5_DIR:PATH=/usr/local/Cellar/qt/5.15.2/lib/cmake/Qt5 ../Slicer

```

and it’s building now. Should work, I’ll let you know if it doesn’t.

Even if you’re making a custom module, why do you need to build Qt from source?

---

_[View the full topic](https://discourse.slicer.org/t/slicer-build-on-macos-monterey/21940)._
