Script Usage
What to expect

⭐ When you are familiar with the script you can do most builds you want with a one liner. It’s pretty simple to use.
Execute the script
./qbittorrent-nox-static.sh
The first thing you should do is to run the script with the -h
flag to see the help output and the script defaults.
./qbittorrent-nox-static.sh -h
By passing all
as the first argument, you can build everything based on the default settings.
./qbittorrent-nox-static.sh all
For example, to use ICU
using -i
, optimise for the host system CPU using -o
to set -march=native
and -s
to strip the binary and build using libtorrent v1.2.19
./qbittorrent-nox-static.sh all -i -o -s -lt v1.2.19
Same as previous command but using env
settings
qbt_libtorrent_tag="v1.2.19" qbt_skip_icu="yes" qbt_optimise_strip="yes" qbt_optimize="yes" ./qbittorrent-nox-static.sh all
For an older version of qBittorrent, you can specify the version using -qt
and the libtorrent version using -lt
./qbittorrent-nox-static.sh all -q -qt release-4.1.9.1 -lt libtorrent-1_1_14 -bt boost-1.76.0