summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2017-09-11 17:25:18 +0200
committerJohan Helsing <johan.helsing@qt.io>2017-09-18 09:52:45 +0000
commite1f89e15cf00420bd77ac16a867a1cadc9b942fc (patch)
tree9beff56c767a436757bf56f6418eb133b98babcb /examples
parent1e6063f6fc9fa02bd2f12ad9e60cbc2529fc0377 (diff)
Fix namespaced builds
Change-Id: Iac3d7751b9c3a8c94ee87dbc4effcaceaf8a47dc Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/server-buffer/compositor/sharebufferextension.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/server-buffer/compositor/sharebufferextension.h b/examples/wayland/server-buffer/compositor/sharebufferextension.h
index 18f6264ff..f84d9c4df 100644
--- a/examples/wayland/server-buffer/compositor/sharebufferextension.h
+++ b/examples/wayland/server-buffer/compositor/sharebufferextension.h
@@ -64,6 +64,8 @@
#include "qwayland-server-share-buffer.h"
+QT_BEGIN_NAMESPACE
+
namespace QtWayland
{
class ServerBufferIntegration;
@@ -93,4 +95,6 @@ private:
Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_CLASS(ShareBufferExtension)
+QT_END_NAMESPACE
+
#endif // SHAREBUFFEREXTENSION_H