Skip to content

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, -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="-march=native" ./qbittorrent-nox-static.sh all