diff --git a/src/wayland/autotests/client/test_wayland_registry.cpp b/src/wayland/autotests/client/test_wayland_registry.cpp index f6b31f5c0e..6360bf0d15 100644 --- a/src/wayland/autotests/client/test_wayland_registry.cpp +++ b/src/wayland/autotests/client/test_wayland_registry.cpp @@ -65,10 +65,10 @@ License along with this library. If not, see . #include #include #include -#include #include #include #include +#include "../../src/compat/wayland-xdg-shell-v5-client-protocol.h" class TestWaylandRegistry : public QObject { @@ -347,7 +347,7 @@ void TestWaylandRegistry::testBindTextInputManagerUnstableV2() void TestWaylandRegistry::testBindXdgShellUnstableV5() { - TEST_BIND(KWayland::Client::Registry::Interface::XdgShellUnstableV5, SIGNAL(xdgShellUnstableV5Announced(quint32,quint32)), bindXdgShellUnstableV5, xdg_shell_destroy) + TEST_BIND(KWayland::Client::Registry::Interface::XdgShellUnstableV5, SIGNAL(xdgShellUnstableV5Announced(quint32,quint32)), bindXdgShellUnstableV5, zxdg_shell_v5_destroy) } void TestWaylandRegistry::testBindRelativePointerManagerUnstableV1()