|
| 1 | +--- |
| 2 | +title: Rule of engagement |
| 3 | +hide_title: true |
| 4 | +--- |
| 5 | + |
| 6 | +import { Advanced, Charts, Details, Modal, Steps, Tabs, TabItem, Card, CardGrid, LinkCard, Aside, Icon } from "/src/components/global.jsx" |
| 7 | + |
| 8 | +⭐ The rules of engagement are: |
| 9 | + |
| 10 | +<Steps> |
| 11 | + |
| 12 | +1. ### Use Docker |
| 13 | + |
| 14 | + - Docker is the recommended method to build using the script. |
| 15 | + - This will avoid many potential issues and conflicts with the host system, especially with Qt. |
| 16 | + |
| 17 | +2. ### Use Alpine |
| 18 | + |
| 19 | + - It is the main supported system and Debian is testing and fallback. |
| 20 | + - You do not need to build on an older host to use these binaries there. |
| 21 | + |
| 22 | +3. ### Privileges |
| 23 | + |
| 24 | + - `sudo` - `root` are not required to run the script. |
| 25 | + - They are required to install the core dependencies if they are missing |
| 26 | + |
| 27 | +4. ### Additional flags and switches |
| 28 | + |
| 29 | + - can add dependencies on demand that will need to be installed. |
| 30 | + - like `-c` for cmake and `-cd` for cache dependencies. |
| 31 | + - the script will require you to install these on demand. |
| 32 | + - Using `.qbt_env` or setting variables before running the script will do this automatically. |
| 33 | + |
| 34 | +5. ### Passing no arguments |
| 35 | + |
| 36 | + :::tip |
| 37 | + `qbt-nox-static.bash` is the recommended build script |
| 38 | + ::: |
| 39 | + |
| 40 | + - `qbt-nox-static.bash` - will make no changes and instead provide information on what you need to do. |
| 41 | + - `qbittorrent-nox-static.sh` - will automatically install the required dependencies and configure the build environment. |
| 42 | + |
| 43 | +6. ### Nothing is built until... |
| 44 | + |
| 45 | + - you provide the `all` or a specific module name as a positional parameter to the script. |
| 46 | + - applies to both `qbt-nox-static.bash` and `qbittorrent-nox-static.sh` |
| 47 | + |
| 48 | +7. ### Use the help. |
| 49 | + |
| 50 | + - Use `bash ~/qbittorrent-nox-static.sh -h` to see the help. |
| 51 | + - applies to both `qbt-nox-static.bash` and `qbittorrent-nox-static.sh` |
| 52 | + |
| 53 | +8. ### fork the repo |
| 54 | + |
| 55 | + - build on Github using Github Actions to create your own custom releases. |
| 56 | + - The easiest way to get custom builds for your needs. |
| 57 | + |
| 58 | +</Steps> |
0 commit comments