# Build failing in CTK on MacOS 10.12, Slicer nightly, Qt 5.9

**URL:** <https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551>\
**Category:** Development\
**Tags:** build\
**Created:** [April 9, 2018, 9:05pm UTC](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551 "2018-04-09T21:05:21Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 12, 2018, 12:41pm UTC](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551/17 "2018-04-12T12:41:25Z")

</div>

Hi -

I just did a fresh build on mac 10.13.3 with the cmake command below and it succeeded with no errors. I used the Slicer master as of last night.

HTH,  
Steve

```auto
cmake \
  -DQT_QMAKE_EXECUTABLE:FILEPATH=/Users/pieper/Qt/5.10.0/clang_64/bin/qmake \
  -DCMAKE_PREFIX_PATH:PATH=/Users/pieper/Qt/5.10.0/clang_64/ \
  -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.9 \
  -DSlicer_USE_PYTHONQT_WITH_TCL:BOOL=OFF \
  -DSlicer_USE_SimpleITK:BOOL=OFF \
  -DSlicer_USE_QtTesting:BOOL=OFF \
  -DSlicer_BUILD_EXTENSIONMANAGER_SUPPORT:BOOL=OFF \
  -DSlicer_VTK_VERSION_MAJOR:STRING=9 \
  -DSlicer_VTK_RENDERING_BACKEND:STRING=OpenGL2 \
  -DSlicer_BUILD_DataStore:BOOL=OFF \
  ../Slicer
make -j20

```

---

_[View the full topic](https://discourse.slicer.org/t/build-failing-in-ctk-on-macos-10-12-slicer-nightly-qt-5-9/2551)._
