Skip to content

Instantly share code, notes, and snippets.

@fff7d1bc
fff7d1bc / build_qbt_dmg.sh
Last active November 14, 2025 10:41 — forked from Kolcha/build_qbt_dmg.sh
script to build qBittorrent master branch with Qt6 on macOS, no Homebrew required! NO LONGER MAINTAINED!!! see comments to find forks.
#!/bin/zsh
#
# Important: This is quickly updated fork of a script from https://gist.github.com/Kolcha/3ccd533123b773ba110b8fd778b1c2bf
# To make the build smooth I've changed the following
# - updated version of dependencies
# - moved cmake installation and adding to PATH above qt, as qt's perl script requires cmake to be in PATH.
#
# To get successful build I've created new system user `builduser` and then made `/opt/homebrew` inaccessible to this new user.
# Simplified steps:
# - su - builduser