aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
{