From 9707e7c4436efd2d899b26f33a2488b7c47bfc56 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 29 Sep 2020 14:11:32 +0300 Subject: [PATCH] Hopefully fix build on FreeBSD --- src/wayland/autotests/server/test_textinputv3_interface.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wayland/autotests/server/test_textinputv3_interface.cpp b/src/wayland/autotests/server/test_textinputv3_interface.cpp index bd06ec81bc..a68080d827 100644 --- a/src/wayland/autotests/server/test_textinputv3_interface.cpp +++ b/src/wayland/autotests/server/test_textinputv3_interface.cpp @@ -24,6 +24,9 @@ using namespace KWaylandServer; +Q_DECLARE_METATYPE(QtWayland::zwp_text_input_v3::content_purpose) +Q_DECLARE_METATYPE(QtWayland::zwp_text_input_v3::content_hint) + class TextInputV3 : public QObject, public QtWayland::zwp_text_input_v3 { Q_OBJECT @@ -507,7 +510,5 @@ void TestTextInputV3Interface::testContentHints() } QTEST_GUILESS_MAIN(TestTextInputV3Interface) -Q_DECLARE_METATYPE(QtWayland::zwp_text_input_v3::content_purpose) -Q_DECLARE_METATYPE(QtWayland::zwp_text_input_v3::content_hint) #include "test_textinputv3_interface.moc"