Created attachment 197758 [details]
Add quickcontrols to USE_QT
If qt5-quickcontrols is not installed, spectacle can launch but cannot capture screen:
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
Looks good. Fel free to commit it.
A commit references this bug:
Date: Wed Oct 3 17:21:00 UTC 2018
New revision: 481173
USE_QT+=quickcontrols, or spectacle can launch but cannot capture screen
Submitted by: lwhsu
Approved by: tcberner