mirror-chatterino2/BUILDING_ON_FREEBSD.md
nerix 189be8c68f
chore: remove old Qt 5.12 code, update docs and FreeBSD runner (#5396)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-06-23 12:26:59 +00:00

25 lines
803 B
Markdown

# FreeBSD
For all dependencies below we use Qt 6. Our minimum supported version is Qt 5.15.2, but you are on your own.
## FreeBSD 14.0-RELEASE
Note: This is known to work on FreeBSD 14.0-RELEASE amd64. Chances are
high that this also works on older FreeBSD releases, architectures and
FreeBSD 15.0-SNAP.
1. Install build dependencies from package sources (or build from the
ports tree): `# pkg install boost-libs git qt6-base qt6-svg qt6-5compat qt6-imageformats qtkeychain-qt6 cmake`
1. In the project directory, create a build directory and enter it
```sh
mkdir build
cd build
```
1. Generate build files. To enable Lua plugins in your build add `-DCHATTERINO_PLUGINS=ON` to this command.
```sh
cmake -DBUILD_WITH_QT6=ON ..
```
1. Build the project
```sh
make
```