aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-04-05 19:39:04 +0200
committerAndy Nichols <andy.nichols@theqtcompany.com>2016-04-11 14:37:55 +0000
commitdee527d22731963096023c298f946ef8cd25a7cc (patch)
treeb9b04500d737281f911ad356d6e39821d82f2df8
parent8dad1803a6f53b1de76c42799d0c6413dc9e371e (diff)
fix build with qt in namespacev5.7.0-beta1
Change-Id: I18ccf2e2f6d24b8079b0549b22a1e3fe75919046 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
-rw-r--r--examples/simple/gamepadmonitor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/simple/gamepadmonitor.h b/examples/simple/gamepadmonitor.h
index c0ab12b..8c3fb4a 100644
--- a/examples/simple/gamepadmonitor.h
+++ b/examples/simple/gamepadmonitor.h
@@ -44,7 +44,9 @@
#include <QtCore/QObject>
#include <QtCore/QTimer>
+QT_BEGIN_NAMESPACE
class QGamepad;
+QT_END_NAMESPACE
class GamepadMonitor : public QObject
{