summaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/camera/bbcameraorientationhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/camera/bbcameraorientationhandler.h')
-rw-r--r--src/plugins/qnx/camera/bbcameraorientationhandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qnx/camera/bbcameraorientationhandler.h b/src/plugins/qnx/camera/bbcameraorientationhandler.h
index 006a259c..a98582d8 100644
--- a/src/plugins/qnx/camera/bbcameraorientationhandler.h
+++ b/src/plugins/qnx/camera/bbcameraorientationhandler.h
@@ -51,7 +51,11 @@ public:
explicit BbCameraOrientationHandler(QObject *parent = 0);
~BbCameraOrientationHandler();
+#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+ bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result) override;
+#else
bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) override;
+#endif
int orientation() const;