For example, the Tok project (https://invent.kde.org/network/tok) says that the command 'qbs' should be used to build it.
But qbs fails:
> Detecting Qt installations...
> ERROR: /disk-samsung/freebsd-ports/net-im/tok/work/tok-2fbfe1eb86ab76b2abebd45555da61404f5da6b6/src/Shared.qbs:7:1 Error while handling product 'tokInternal':
> /usr/ports/net-im/tok/work/tok-2fbfe1eb86ab76b2abebd45555da61404f5da6b6/src/Shared.qbs:66:5 Dependency 'Qt.widgets' not found for product 'tokInternal'.
- even though Qt5 widgets are installed.
Something is wrong with paths in qbs.
As a reference, Arch Linux also just calls qbs: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=tok-git
3 warnings and 1 error generated.
ERROR: Process failed with exit code 1.
The following products could not be built for configuration default:
works on my machine and fails at compile errors.