Bug 250146 - Uses/qt.mk: "USES=qmake qt:5" without "USE_QT=" causes a failure: ERROR: Unknown module(s) in QT: core
Summary: Uses/qt.mk: "USES=qmake qt:5" without "USE_QT=" causes a failure: ERROR: Unkn...
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-05 18:02 UTC by Yuri Victorovich
Modified: 2021-01-01 21:44 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2020-10-05 18:02:59 UTC
The port x11-fonts/fontobene with removed "workaround" line fails:

> ===>  Configuring for fontobene-0.1.0.2
> Info: creating stash file /wrkdirs/usr/ports/x11-fonts/fontobene-qt5/work/fontobene-qt5-0.1.0-2-gb57b075/.qmake.stash
> Reading /wrkdirs/usr/ports/x11-fonts/fontobene-qt5/work/fontobene-qt5-0.1.0-2-gb57b075/fontobene-qt5/fontobene-qt5.pro
> Project ERROR: Unknown module(s) in QT: core
> *** Error code 3

Not sure where "core" comes in the error message.

This port only uses qmake and no other Qt components, so "USES=qmake qt:5" alone should be sufficient.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2020-10-05 18:11:36 UTC
Moin moin 

Given the error message, no :) -- btw, I cannot find that port?

https://github.com/fontobene/fontobene-qt5/blob/master/fontobene-qt5/fontobene-qt5.pro#L9


mfg Tobias
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2020-10-05 18:23:39 UTC
(In reply to Tobias C. Berner from comment #1)


> I cannot find that port?

It's committed in r551533.
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2020-10-06 15:02:42 UTC
(In reply to Yuri Victorovich from comment #2)
Moin moin 

I see -- however, fact still is that the qmake-project of fontobene-qt explicitely calls for 'core', and when greping the sources, 
#include <QtCore>
is quite prevalent.


So I don't think there is anything for kde@ to do here. 


mfg Tobias
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2021-01-01 21:44:04 UTC
Thanks!

Also, the new version of x11-fonts/fontobene doesn't use qmake.