summaryrefslogtreecommitdiffstats
path: root/src/input/backend/mousehandler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/backend/mousehandler_p.h')
-rw-r--r--src/input/backend/mousehandler_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/input/backend/mousehandler_p.h b/src/input/backend/mousehandler_p.h
index b2ae4f9ed..ae484d8d6 100644
--- a/src/input/backend/mousehandler_p.h
+++ b/src/input/backend/mousehandler_p.h
@@ -51,8 +51,8 @@
// We mean it.
//
-#include <Qt3DCore/qbackendnode.h>
#include <Qt3DInput/qmouseevent.h>
+#include <Qt3DCore/qbackendnode.h>
QT_BEGIN_NAMESPACE
@@ -70,7 +70,9 @@ public:
Qt3DCore::QNodeId mouseDevice() const;
void setInputHandler(InputHandler *handler);
void mouseEvent(const QMouseEventPtr &event);
+#if QT_CONFIG(wheelevent)
void wheelEvent(const QWheelEventPtr &event);
+#endif
protected:
void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE;