summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/content_browser_client_qt.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/content_browser_client_qt.cpp b/lib/content_browser_client_qt.cpp
index 97d5c8e4e..82587bf8d 100644
--- a/lib/content_browser_client_qt.cpp
+++ b/lib/content_browser_client_qt.cpp
@@ -222,6 +222,8 @@ public:
m_handle = pni->nativeResourceForContext(QByteArrayLiteral("glxcontext"), qtContext);
} else if (platform == QStringLiteral("Cocoa"))
m_handle = pni->nativeResourceForContext(QByteArrayLiteral("cglcontextobj"), qtContext);
+ else if (platform == QStringLiteral("qnx"))
+ m_handle = pni->nativeResourceForContext(QByteArrayLiteral("eglcontext"), qtContext);
else
// Add missing platforms once they work.
Q_UNREACHABLE();