Bug 232552 - _USE_QT_ALL lists declarative but /usr/ports/x11-toolkits/qt5-declarative doesn't exist
Summary: _USE_QT_ALL lists declarative but /usr/ports/x11-toolkits/qt5-declarative doe...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: kde
Depends on:
Reported: 2018-10-23 04:13 UTC by Yuri Victorovich
Modified: 2018-10-23 18:32 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer 2018-10-23 04:13:36 UTC
If the port has USES=qt:5 and USE_QT=declarative, it fails:

> Error a dependency refers to a non existing origin: /usr/ports/x11-toolkits/qt5-declarative in LIB_DEPENDS

_USE_QT_ALL contains 'declarative' in it, but x11-toolkits/qt5-declarative doesn't exist.

QtDeclarative has been discontinued in Qt5, replaced with QML framework, see http://doc.qt.io/qt-5/qtquick-porting-qt5.html
Comment 1 Tobias C. Berner freebsd_committer 2018-10-23 05:13:09 UTC
Moin moin

At the moment we still split declarative into lang/qt5-qml and x11-toolkits/qt5-quick (USE_QT=qml and USE_QT=quick). However I have a patch to merge them back together into one (for PR 223687).

In short: at the moment "declarative" should not be in the list of components for both qt:4 and qt:5 (_USE_QT_ALL) and only in (_USE_QT4_ONLY).

Until they are merged together, that is :)

mfg Tobias
Comment 2 commit-hook freebsd_committer 2018-10-23 18:31:37 UTC
A commit references this bug:

Author: tcberner
Date: Tue Oct 23 18:30:52 UTC 2018
New revision: 482869
URL: https://svnweb.freebsd.org/changeset/ports/482869

  qt.mk: move 'declarative' to the Qt4 only list.

  - qt5 has that port split into the components 'quick' and 'qml'
    at the moment, so it should not be in the 'All' list.

  PR:		232552
  Reported by:	yuri

Comment 3 Tobias C. Berner freebsd_committer 2018-10-23 18:32:37 UTC
I removed it from the list until it is merged back together.