Bug 243808

Summary: devel/qt5-qmake: Fails to find QT+=declarative
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed Works As Intended    
Severity: Affects Only Me CC: tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description Yuri Victorovich freebsd_committer freebsd_triage 2020-02-02 16:43:22 UTC
I have qt5-qmake-5.13.2 and qt5-declarative-5.13.2_1 installed. .pro file looks like this:
> QT += declarative
> SOURCES += main.cpp

qmake fails to find the declarative module:
> $ /usr/local/lib/qt5/bin/qmake .
> Project ERROR: Unknown module(s) in QT: declarative
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2020-02-02 18:08:29 UTC
Moin moin 

This is a bit too little information :) Could you elaborate what it is your trying to build, so I can try to help.



mfg Tobias
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2020-02-02 18:15:11 UTC
For example, this project https://github.com/linux4sam/samegame.git is supposed to be an example of Qml-based project built with qmake.

But it fails with Unknown module(s) in QT: declarative.
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2020-02-02 18:32:34 UTC
Hm... this looks like its using the deprecated (which was removed in Qt-5.6) declarative (quick 1).

mfg Tobias
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2020-02-02 18:35:31 UTC
(In reply to Tobias C. Berner from comment #3)

I see. Thank you, Tobias!