carlosonunez / obs-installer-for-apple-silicon

Conveniently build and install OBS from source on your ultra-fast Apple M1 MacBook or Mac
206 stars 23 forks source link

Add Qt as a brew dependencie #32

Closed eirenik0 closed 2 years ago

eirenik0 commented 2 years ago

The script fails if Qt is not installed with the following error:

/tmp/obs/cmake ~/Projects/ALLATRA/obs-installer-for-apple-silicon
-- OBS_VERSION: 27.1.3-modified
CMake Error at CMakeLists.txt:257 (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.

Should we install Qt as install FFmpeg with brew?

rbourgeat commented 2 years ago

same... did you find an alternative ?

carlosonunez commented 2 years ago

qt and ffmpeg are installed with this script; see here

Can you run this to give me the current version of your clone for obs-installer-for-apple-silicon?

$: git log -1 --format=%h
eirenik0 commented 2 years ago

result of git log -1 --format=%h: 0733999

qt and ffmpeg are present in install.sh script

carlosonunez commented 2 years ago

Thanks. It looks like you're using the latest version.

Can you re-run the installer using the command below, copy the log and paste it here?

LOG_LEVEL=DEBUG ./install.sh
carlosonunez commented 2 years ago

Closing due to staleness. Re-open with the logs per the comment above if needed.