Bug 231921 - [PATCH] graphics/spectacle: USE_QT+=quickcontrols
Summary: [PATCH] graphics/spectacle: USE_QT+=quickcontrols
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-kde (Team)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-03 16:26 UTC by Li-Wen Hsu
Modified: 2018-10-03 17:24 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback+


Attachments
Add quickcontrols to USE_QT (680 bytes, patch)
2018-10-03 16:26 UTC, Li-Wen Hsu
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Li-Wen Hsu freebsd_committer 2018-10-03 16:26:50 UTC
Created attachment 197758 [details]
Add quickcontrols to USE_QT

If qt5-quickcontrols is not installed, spectacle can launch but cannot capture screen:


$ spectacle
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-lwhsu'
qrc:/QuickEditor/EditorRoot.qml:23:1: module "QtQuick.Controls" is not installed
QObject::connect: Cannot connect (null)::acceptImage(int, int, int, int) to QuickEditor::acceptImageHandler(int, int, int, int)
QObject::connect: Cannot connect (null)::cancelImage() to QuickEditor::grabCancelled()
zsh: segmentation fault  spectacle
Comment 1 Tobias C. Berner freebsd_committer 2018-10-03 16:57:35 UTC
Moin moin 

Looks good. Fel free to commit it.


mfg Tobias
Comment 2 commit-hook freebsd_committer 2018-10-03 17:21:28 UTC
A commit references this bug:

Author: lwhsu
Date: Wed Oct  3 17:21:00 UTC 2018
New revision: 481173
URL: https://svnweb.freebsd.org/changeset/ports/481173

Log:
  USE_QT+=quickcontrols, or spectacle can launch but cannot capture screen

  PR:		231921
  Submitted by:	lwhsu
  Approved by:	tcberner

Changes:
  head/graphics/spectacle/Makefile