diff --git a/autotests/integration/CMakeLists.txt b/autotests/integration/CMakeLists.txt index f180b1070d..917dd426f5 100644 --- a/autotests/integration/CMakeLists.txt +++ b/autotests/integration/CMakeLists.txt @@ -25,12 +25,19 @@ qt6_generate_wayland_protocol_client_sources(KWinIntegrationTestFramework ${PLASMA_WAYLAND_PROTOCOLS_DIR}/fake-input.xml ) -# the qtwaylandscanner macro cannot handle the mismatched file name and #include "qwayland-cursor-shape-v1.h" -#include "qwayland-dialog-v1.h" #include "qwayland-fake-input.h" #include "qwayland-fractional-scale-v1.h" #include "qwayland-idle-inhibit-unstable-v1.h" @@ -35,6 +34,11 @@ #include "qwayland-xdg-decoration-unstable-v1.h" #include "qwayland-xdg-shell.h" #include "qwayland-zkde-screencast-unstable-v1.h" +#if QT_VERSION < QT_VERSION_CHECK(6, 7, 1) +#include "qwayland-dialog-v1.h" +#else +#include "qwayland-xdg-dialog-v1.h" +#endif namespace KWayland {