Document FreeBSD build instructions (#1763)

* Document FreeBSD build instructions

This has been tested under the following conditions:

```
$ uname -apKU
FreeBSD triton 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC  amd64 amd64 1201000 1201000
```

It may also work on older versions and should definitely on FreeBSD 13.0-CURRENT.
This commit is contained in:
Nico Sonack 2020-06-27 11:28:11 +02:00 committed by GitHub
parent 8e202c3755
commit 15732cb9ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

17
BUILDING_ON_FREEBSD.md Normal file
View file

@ -0,0 +1,17 @@
# FreeBSD
Note on Qt version compatibility: If you are installing Qt from a package manager, please ensure the version you are installing is at least **Qt 5.10 or newer**.
## FreeBSD 12.1-RELEASE
Note: This is known to work on FreeBSD 12.1-RELEASE amd64. Chances are
high that this also works on older FreeBSD releases, architectures and
FreeBSD 13.0-CURRENT.
1. Install build dependencies from package sources (or build from the
ports tree): `# pkg install qt5-core qt5-multimedia qt5-svg
qt5-qmake qt5-buildtools gstreamer-plugins-good boost-libs
rapidjson`
1. go into project directory
1. create build folder `$ mkdir build && cd build`
1. `$ qmake .. && make`

View file

@ -32,6 +32,8 @@ git submodule update --init --recursive
[Building on Mac](../master/BUILDING_ON_MAC.md)
[Building on FreeBSD](../master/BUILDING_ON_FREEBSD.md)
## Code style
The code is formatted using clang format in Qt Creator. [.clang-format](src/.clang-format) contains the style file for clang format.