Add Q_DECLARE_METATYPE(Qt::Key) to fix test build in CI
commitf95e5ddd712b7b5f7f4cf9aa6043d46a756bbf92
authorDaniel d'Andrada <daniel.dandrada@canonical.com>
dateMon 21 Mar 2016, 16:35 (11 years ago)
parente7bb4ce
tests/plugins/Utils/WindowInputMonitorTest.cpp+2
@@ -71,6 +71,8 @@ public:
7171
7272using namespace UnityUtil;
7373
74+Q_DECLARE_METATYPE(Qt::Key) // because of QTest::addColumn<Qt::Key>
75+
7476class WindowInputMonitorTest : public QObject {
7577 Q_OBJECT
7678private Q_SLOTS: