Bug 258444 - devel/qbs: qbs doesn't find Qt components
Summary: devel/qbs: qbs doesn't find Qt components
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (Team)
URL: https://bugreports.qt.io/browse/QBS-1672
Depends on:
Reported: 2021-09-12 03:09 UTC by Yuri Victorovich
Modified: 2021-09-15 17:07 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2021-09-12 03:09:12 UTC
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
Comment 1 Tobias C. Berner freebsd_committer 2021-09-13 06:20:34 UTC
Moin moin 

> qbs
3 warnings and 1 error generated.
ERROR: Process failed with exit code 1.
The following products could not be built for configuration default:
org.kde.Tok, tokInternal

works on my machine and fails at compile errors.

mfg Tobias