Bug 245581 - cad/cura: Fails to run: ModelChecker.qml:5:1: module "QtQuick.Controls" is not installed (Add qt5-quickcontrols dependency)
Summary: cad/cura: Fails to run: ModelChecker.qml:5:1: module "QtQuick.Controls" is no...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Diane Bruce
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2020-04-12 21:39 UTC by Goran Mekić
Modified: 2020-06-04 00:30 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (db)
koobs: merge-quarterly?


Attachments
cura.diff (920 bytes, patch)
2020-04-12 21:39 UTC, Goran Mekić
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.