summaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/mediaplayer/mmreventmediaplayercontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/mediaplayer/mmreventmediaplayercontrol.h')
-rw-r--r--src/plugins/qnx/mediaplayer/mmreventmediaplayercontrol.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/qnx/mediaplayer/mmreventmediaplayercontrol.h b/src/plugins/qnx/mediaplayer/mmreventmediaplayercontrol.h
index 0e4defc5..cb80ccbf 100644
--- a/src/plugins/qnx/mediaplayer/mmreventmediaplayercontrol.h
+++ b/src/plugins/qnx/mediaplayer/mmreventmediaplayercontrol.h
@@ -58,9 +58,11 @@ public:
void stopMonitoring() override;
void resetMonitoring() override;
- bool nativeEventFilter(const QByteArray &eventType,
- void *message,
- long *result) override;
+#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
private Q_SLOTS:
void readEvents();