summaryrefslogtreecommitdiffstats
path: root/src/plugins/qnx/common/windowgrabber.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/qnx/common/windowgrabber.h')
-rw-r--r--src/plugins/qnx/common/windowgrabber.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/qnx/common/windowgrabber.h b/src/plugins/qnx/common/windowgrabber.h
index 3ebd0e8a6..5603d9634 100644
--- a/src/plugins/qnx/common/windowgrabber.h
+++ b/src/plugins/qnx/common/windowgrabber.h
@@ -100,7 +100,11 @@ public:
void pause();
void resume();
+#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
bool handleScreenEvent(screen_event_t event);