There seems to be a bug in homebrew causing not to find qt5.
cmake … -GXcode gives:
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target “Qt5::Core” references the file
but this file does not exist.
I have not got a clue why cmake cannot find the qt5 dirs installed with brew. Hence it is probably a feature …
But there is an easy was to fix this:
ln -s /usr/local/opt/qt5/mkspecs /usr/local/mkspecs && ln -s /usr/local/opt/qt5/plugins /usr/local/plugins
Can this be added to https://github.com/highfidelity/hifi/blob/master/BUILD_OSX.md ?