Fix build with >=QtWaylandScanner-6.7.1

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2024-05-20 19:56:20 +02:00
parent f9838deac0
commit 36349df89b
2 changed files with 15 additions and 5 deletions

View File

@@ -5,7 +5,11 @@
*/
#include "screencasting.h"
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 1)
#include "qwayland-zkde-screencast-unstable-v1.h"
#else
#include "qwayland-screencast.h"
#endif
#include <KWayland/Client/registry.h>
#include <QDebug>
#include <QRect>