Fix compilation on Yocto

Summary:
By default, Qt is built without accessibility there, which is what
would indirectly include the needed QColor with a "normal" Qt build
here.

Reviewers: #frameworks, broulik

Reviewed By: broulik

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D7117
This commit is contained in:
Volker Krause 2017-08-03 21:57:44 +02:00
parent 7e0b719f1e
commit 0a8d1f9cd4

View File

@ -23,6 +23,7 @@
#include <QQmlContext>
#include <QQmlEngine>
#include <QColor>
QHash<QObject *, ColorScope *> ColorScope::s_attachedScopes = QHash<QObject *, ColorScope *>();