summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandxdgshellv5.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2020-02-04 16:32:58 +0100
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2020-02-05 13:26:01 +0100
commit9a73873125e9caebc8810b7d331e220890ceb4af (patch)
treeb4bccfd59fa4ac6530c9f650ab277a7d985daae0 /src/compositor/extensions/qwaylandxdgshellv5.h
parent9135dec42de1880bd8b2972ba01f97a219cb0093 (diff)
Compositor: Deprecate XdgShell unstable v5
A stable version of XdgShell has been released. Since xdg-shell v5 is quite different from both the stable version and wl-shell with regards to how configure events work, it would be a maintenance burden to keep supporting it in Qt 6. [ChangeLog][Compositor] XdgShellV5 has been deprecated, use XdgShell instead. Task-number: QTBUG-81853 Change-Id: I06ffc676cb8c9c1a46de30eef59ceef8bb0ff7a3 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv5.h')
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv5.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv5.h b/src/compositor/extensions/qwaylandxdgshellv5.h
index d0fba5f69..c0df767b1 100644
--- a/src/compositor/extensions/qwaylandxdgshellv5.h
+++ b/src/compositor/extensions/qwaylandxdgshellv5.h
@@ -42,6 +42,8 @@ struct wl_resource;
QT_BEGIN_NAMESPACE
+#if QT_DEPRECATED_SINCE(5, 15)
+
class QWaylandXdgShellV5Private;
class QWaylandXdgSurfaceV5;
class QWaylandXdgSurfaceV5Private;
@@ -247,6 +249,8 @@ private:
void initialize() override;
};
+#endif // QT_DEPRECATED_SINCE(5, 15)
+
QT_END_NAMESPACE
#endif /*QWAYLANDXDGSHELLV5_H*/