Rule of engagement
⭐ The rules of engagement are:
-
Use Docker
Section titled “Use Docker”- Docker is the recommended method to build using the script.
- This will avoid many potential issues and conflicts with the host system, especially with Qt.
-
Use Alpine
Section titled “Use Alpine”- It is the main supported system and Debian is testing and fallback.
- You do not need to build on an older host to use these binaries there.
-
Privileges
Section titled “Privileges”sudo
-root
are not required to run the script.- They are required to install the core dependencies if they are missing
-
Additional flags and switches
Section titled “Additional flags and switches”- can add dependencies on demand that will need to be installed.
- like
-c
for cmake and-cd
for cache dependencies. - the script will require you to install these on demand.
- Using
.qbt_env
or setting variables before running the script will do this automatically.
-
Passing no arguments
Section titled “Passing no arguments”qbt-nox-static.bash
- will make no changes and instead provide information on what you need to do.qbt-nox-static.bash
- will automatically install the required dependencies and configure the build environment.
-
Nothing is built until…
Section titled “Nothing is built until…”- you provide the
all
or a specific module name as a positional parameter to the script. - applies to both
qbt-nox-static.bash
andqbt-nox-static.bash
- you provide the
-
Use the help.
Section titled “Use the help.”- Use
bash ~/qbt-nox-static.bash -h
to see the help. - applies to both
qbt-nox-static.bash
andqbt-nox-static.bash
- Use
-
fork the repo
Section titled “fork the repo”- build on Github using Github Actions to create your own custom releases.
- The easiest way to get custom builds for your needs.