on xenial help sign in
Add Q_DECLARE_METATYPE(Qt::Key) to fix test build in CI
f95e5ddDaniel d'Andrada
tests/plugins/Utils/WindowInputMonitorTest.cpp+2
@@ -71,6 +71,8 @@ public:
71
71
72using namespace UnityUtil;
72using namespace UnityUtil;
73
73
74+Q_DECLARE_METATYPE(Qt::Key) // because of QTest::addColumn<Qt::Key>
75+
74class WindowInputMonitorTest : public QObject {
76class WindowInputMonitorTest : public QObject {
75 Q_OBJECT
77 Q_OBJECT
76private Q_SLOTS:
78private Q_SLOTS: