Bug Report installation problems via compiling source on Sierra, plz help

rabbit2017

New Member
OBS-install.png
Hello forum members,
Thanks in advance for looking at my question.
I've ran into a compilation issue on my Mac Sierra:

Code:
CMake Error at UI/CMakeLists.txt:38 (find_package):
  By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Widgets", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Widgets" with
  any of the following names:

    Qt5WidgetsConfig.cmake
    qt5widgets-config.cmake

  Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
  "Qt5Widgets_DIR" to a directory containing one of the above files.  If
  "Qt5Widgets" provides a separate development package or SDK, be sure it has
  been installed.

I manually exported the config setting, which I thought would've fixed the problem, but still running into issues:
Sashas-MacBook-Pro:build Sasha$ echo $CMAKE_PREFIX_PATH
/Users/Sasha/Qt/5.8/clang_64/lib/cmake/Qt5Widgets
 

PAJ

New Member
for anyone stumbling across this error I just built OBS on MacOS 10.13.x with

Code:
cmake .. -DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.11.1 && make package
 

Narcogen

Active Member
On Sierra I install qt from homebrew, so I use this variable to set the path for qt:

export CMAKE_PREFIX_PATH=/usr/local/opt/qt5/
 
Top