From aec3c6a9cb1286d391f0ba9d7b8d1499a7003580 Mon Sep 17 00:00:00 2001 From: James McDonnell Date: Mon, 9 Dec 2019 17:30:29 -0500 Subject: [PATCH] Add EglDisplay resource to the QNX platform plugin QtWayland requires this resource. Change-Id: I41f83d93582bfe7c471208e8ca844e24dc2c6da5 Reviewed-by: Dan Cape Reviewed-by: Johan Helsing --- src/plugins/platforms/qnx/qqnxnativeinterface.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp index 3bd6a86b59..25f7b09a60 100644 --- a/src/plugins/platforms/qnx/qqnxnativeinterface.cpp +++ b/src/plugins/platforms/qnx/qqnxnativeinterface.cpp @@ -94,6 +94,11 @@ void *QQnxNativeInterface::nativeResourceForIntegration(const QByteArray &resour if (resource == "screenContext") return m_integration->screenContext(); +#if QT_CONFIG(opengl) + if (resource.toLower() == "egldisplay") + return m_integration->eglDisplay(); +#endif + return 0; }