Open exocode opened 4 years ago
Great step by step tutorial. I am working in Big Sur. ATM some calls in the file (https://gist.githubusercontent.com/DDRBoxman/b3956fab6073335a4bf151db0dcbd4ad/raw/ed1342a8a86793ea8c10d8b4d712a654da121ace/qt.rb) are deprecated. See below:
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb:12
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb:13
Warning: Calling `sha256 "digest" => :tag` in a bottle block is deprecated! Use `brew style --fix` on the formula to update the style or use `sha256 tag: "digest"` instead.
Please report this issue to the homebrew/core tap (not Homebrew/brew or Homebrew/core), or even better, submit a PR to fix it:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb:14
==> Downloading https://ghcr.io/v2/homebrew/core/qt/manifests/5.10.1
##O#- #
curl: (22) The requested URL returned error: 404
Error: Failed to download resource "qt_bottle_manifest"
Download failed: https://ghcr.io/v2/homebrew/core/qt/manifests/5.10.1
It seems like it can be fixed by fixing the code. I will try rewriting the code in the file according to the brew warnings and installing the qt again.
Any other ideas? Is anyone working on this?
Would someone be able to build a macOS binary, I have an M1 Mac so I can't build OBS to be able to build this plugin myself?
For anyone who is struggling with MacOS Catalina installation (QT version at compile time differs from runtime) (you can see this in log file of OBS) This could be used to update the MacOS "how to" or someone who searches for a solution.
So installation is not easy, because the version you need is not available anymore. You have to overwrite a file: (BTW: I already have cmake and xcode-tools installed)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb
brew create https://gist.githubusercontent.com/DDRBoxman/b3956fab6073335a4bf151db0dcbd4ad/raw/ed1342a8a86793ea8c10d8b4d712a654da121ace/qt.rb
brew install qt
brew pin qt
cd ~
wget --quiet --retry-connrefused --waitretry=1 https://obs-nightly.s3.amazonaws.com/osx-deps-2018-08-09.tar.gz tar -xf ./osx-deps-2018-08-09.tar.gz -C /tmp
git clone https://github.com/obsproject/obs-studio
cd obs-studio
git checkout 24.0.6
cd ~
to your home directory againSo with that exact steps I got it built successfully and run on macOS Catalina (10.15.7 (19H2))