Bug 245581

Summary: cad/cura: Fails to run: ModelChecker.qml:5:1: module "QtQuick.Controls" is not installed (Add qt5-quickcontrols dependency)
Product: Ports & Packages Reporter: Goran Mekić <meka>
Component: Individual Port(s)Assignee: Diane Bruce <db>
Status: Closed FIXED    
Severity: Affects Many People Keywords: needs-qa
Priority: --- Flags: bugzilla: maintainer-feedback? (db)
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
cura.diff none

Description Goran Mekić 2020-04-12 21:39:49 UTC
Created attachment 213348 [details]
cura.diff

Although qt5-quickcontrols2 is already a dependency, qt5-quickcontrols is needed, otherwise I get this error:

2020-04-12 23:07:38,094 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [574]: file:///usr/local/lib/cura/plugins/ModelChecker/ModelChecker.qml:5:1: module "QtQuick.Controls" is not installed
2020-04-12 23:07:38,094 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [574]: file:///usr/local/lib/cura/plugins/ModelChecker/ModelChecker.qml:6:1: module "QtQuick.Controls.Styles" is not installed
2020-04-12 23:07:38,094 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [574]: file:///usr/local/lib/cura/plugins/ModelChecker/ModelChecker.qml:5:1: module "QtQuick.Controls" is not installed
2020-04-12 23:07:38,095 - ERROR - [MainThread] UM.Qt.QtApplication.createQmlComponent [574]: file:///usr/local/lib/cura/plugins/ModelChecker/ModelChecker.qml:6:1: module "QtQuick.Controls.Styles" is not installed

It's interesting that if either version of quickcontrols is missing, cura breaks.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-04-12 23:02:21 UTC
Thank you for the report Goran

Is quarterly also affected?
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-04-12 23:04:34 UTC
A commit references this bug:

Author: db
Date: Sun Apr 12 23:04:14 UTC 2020
New revision: 531567
URL: https://svnweb.freebsd.org/changeset/ports/531567

Log:
  Although qt5-quickcontrols2 is already a dependency,
  qt5-quickcontrols is needed.

  PR:		ports/245581
  Submitted by:	meka@tilda.center

Changes:
  head/cad/cura/Makefile
Comment 3 Goran Mekić 2020-04-12 23:53:40 UTC
Quarterly is also affected, and is also missing an intermediate commit (ports r531021) that should be merged too
Comment 4 Diane Bruce freebsd_committer freebsd_triage 2020-04-13 14:42:21 UTC
(In reply to Goran Mekić from comment #3)
(In reply to Kubilay Kocak from comment #1)
I'd be happy to work up a MFC if this help.