summaryrefslogtreecommitdiffstats
path: root/src/compositor/extensions/qwaylandxdgshellv5_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv5_p.h')
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv5_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv5_p.h b/src/compositor/extensions/qwaylandxdgshellv5_p.h
index 9aaad65b5..5356d979c 100644
--- a/src/compositor/extensions/qwaylandxdgshellv5_p.h
+++ b/src/compositor/extensions/qwaylandxdgshellv5_p.h
@@ -51,6 +51,8 @@
QT_BEGIN_NAMESPACE
+#if QT_DEPRECATED_SINCE(5, 15)
+
class Q_WAYLAND_COMPOSITOR_EXPORT QWaylandXdgShellV5Private
: public QWaylandShellPrivate
, public QtWaylandServer::xdg_shell_v5
@@ -168,6 +170,8 @@ public:
static QWaylandSurfaceRole s_role;
};
+#endif // QT_DEPRECATED_SINCE(5, 15)
+
QT_END_NAMESPACE
#endif // QWAYLANDXDGSHELLV5_P_H