summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-11-27 12:13:00 +0100
committerPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2015-11-28 10:11:47 +0000
commit77503ab20b4408fdf32b94400bc54f7ea5f628dc (patch)
treedcb1ff353d9df358e436222f32dc2e8076433a32 /examples
parent40217a5a3fb20a625ae4ec43cda84f89a435482d (diff)
Compile fix for namespaced Qt builds
Change-Id: Ie23f7c01331d5e52dcf30952d7ad9ade6ef5a5e0 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/custom-extension/client/customextension.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/wayland/custom-extension/client/customextension.cpp b/examples/wayland/custom-extension/client/customextension.cpp
index e6bab56c6..81694fdab 100644
--- a/examples/wayland/custom-extension/client/customextension.cpp
+++ b/examples/wayland/custom-extension/client/customextension.cpp
@@ -44,6 +44,8 @@
#include <QDebug>
+QT_BEGIN_NAMESPACE
+
namespace QtWaylandClient {
CustomExtension::CustomExtension(QWaylandIntegration *wayland_integration)
@@ -79,3 +81,5 @@ void CustomExtension::registry_global(uint32_t id, const QString &interface, uin
}
}
+
+QT_END_NAMESPACE