Slicer nightly does not build with Qt4/VTK7

I’ve seen some discussion of the undeclared identifier problem, but I thought that had been fixed with a DCMTK update.

If you don’t have a reason to use Qt4, I would suggest starting with Qt5, because that is the most maintained/tested now, and will build everything with C++11. I am successfully building on macOS 10.12 against Qt 5.10.1 from http://download.qt.io/official_releases/qt/5.10/5.10.1/

If you do need Qt4 then somebody can try to debug, but otherwise please try Qt5 using these instructions. eg on my computer:

cd /opt/bld/r/r5nj
ccmake -DQt5_DIR=/opt/sw/Qt_ol/5.10.1/clang_64/lib/cmake/Qt5 ~/git/s5

note that the base path for your build should be a relatively short path, in order to avoid errors described here. I would suggest staying under about 20 characters or so.