Changeset View
Changeset View
Standalone View
Standalone View
recipes-kf5/tier3/plasma-framework/0001-colorscope-compile-fix.patch
- This file was added.
1 | commit 28aa8aa3da6fa9a6cbf003307030861d2fff985b | ||||
---|---|---|---|---|---|
2 | Author: Volker Krause <vkrause@kde.org> | ||||
3 | Date: Thu Aug 3 21:57:44 2017 +0200 | ||||
4 | | ||||
5 | Fix compilation on Yocto | ||||
6 | | ||||
7 | Summary: | ||||
8 | By default, Qt is built without accessibility there, which is what | ||||
9 | would indirectly include the needed QColor with a "normal" Qt build | ||||
10 | here. | ||||
11 | | ||||
12 | Reviewers: #frameworks | ||||
13 | | ||||
14 | Tags: #frameworks | ||||
15 | | ||||
16 | Differential Revision: https://phabricator.kde.org/D7117 | ||||
17 | | ||||
18 | diff --git a/src/declarativeimports/core/colorscope.cpp b/src/declarativeimports/core/colorscope.cpp | ||||
19 | index 8a705b8b3..2785fab93 100644 | ||||
20 | --- a/src/declarativeimports/core/colorscope.cpp | ||||
21 | +++ b/src/declarativeimports/core/colorscope.cpp | ||||
22 | @@ -23,6 +23,7 @@ | ||||
23 | | ||||
24 | #include <QQmlContext> | ||||
25 | #include <QQmlEngine> | ||||
26 | +#include <QColor> | ||||
27 | | ||||
28 | QHash<QObject *, ColorScope *> ColorScope::s_attachedScopes = QHash<QObject *, ColorScope *>(); | ||||
29 | |