Skip to content

Instantly share code, notes, and snippets.

@R0GERIUS
R0GERIUS / build_qbt_dmg.sh
Last active March 14, 2022 17:12 — forked from Kolcha/build_qbt_dmg.sh
script to build qBittorrent master branch on macOS, no Homebrew required!
#!/bin/zsh
# standalone script to build qBittorent for macOS (including Apple Silicon based Macs)
#
# only Xcode must be installed (Xcode 12 is required to produce arm64 binaries)
# all required dependencies and tools are automatically downloaded and used only from script's working directory
# (can be specified), nothing is installed into the system
# working directory is removed on completion if it was not specified
#
# by default script produces binaries for the architecture it was launched on, but cross-compilation is also supported
# in both directions, i.e. x86_64 -> arm64 and arm64 -> x86_64