【发布时间】:2020-12-13 19:18:31
【问题描述】:
我正在尝试将 WebKit (Qt5.5.1) 插件移植到 WebEngine (Qt5.11.3) 中,如下所述:https://doc.qt.io/qt-5/qtwebenginewidgets-qtwebkitportingguide.html 在 Ubuntu 18.04 中构建和运行时出现以下错误:
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
然后
Could not find QtWebEngineProcess
我不确定第一个是否与第二个有关,但第二个会导致崩溃。
编辑:
我将 QtWebEngineProcess 从Qt/libexec dir 放入二进制目录,现在第二个错误更改为:
WebEngineContext used before initialize() or OpenGL context creation failed.
仍然崩溃。
【问题讨论】:
标签: c++ qt linker qt5 qtwebengine