diff --git a/src/wayland/server/region_interface.h b/src/wayland/server/region_interface.h index cc98bb2860..24dbc395d4 100644 --- a/src/wayland/server/region_interface.h +++ b/src/wayland/server/region_interface.h @@ -73,5 +73,6 @@ private: } } +Q_DECLARE_METATYPE(KWayland::Server::RegionInterface*) #endif diff --git a/src/wayland/surface_interface.h b/src/wayland/surface_interface.h index 8b5ecf1564..caf10aede7 100644 --- a/src/wayland/surface_interface.h +++ b/src/wayland/surface_interface.h @@ -217,4 +217,6 @@ private: } } +Q_DECLARE_METATYPE(KWayland::Server::SurfaceInterface*) + #endif