Details
Description
Sample app is simply auto generated Qt Quick application project,
added WebEngineQuick to CMakeLists,
2 options required for webengine into main.cpp:
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts); QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGLRhi);
And WebEngineView to main.qml.
App configured with Qt 6.2.0 beta 4 snapshot from online installer.
App output:
dyld: Library not loaded: @rpath/QtWebEngineCore.framework/Versions/A/QtWebEngineCore Referenced from: /Users/sergei.nevdakh/Qt/6.2.online/6.2.0/macos/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess Reason: image not found dyld: Library not loaded: @rpath/QtWebEngineCore.framework/Versions/A/QtWebEngineCore Referenced from: /Users/sergei.nevdakh/Qt/6.2.online/6.2.0/macos/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess Reason: image not found [38008:259:0915/163319.584777:ERROR:network_service_instance_impl.cc(330)] Network service crashed, restarting service. dyld: Library not loaded: @rpath/QtWebEngineCore.framework/Versions/A/QtWebEngineCore Referenced from: /Users/sergei.nevdakh/Qt/6.2.online/6.2.0/macos/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess Reason: image not found [38008:259:0915/163319.598263:ERROR:network_service_instance_impl.cc(330)] Network service crashed, restarting service. dyld: Library not loaded: @rpath/QtWebEngineCore.framework/Versions/A/QtWebEngineCore Referenced from: /Users/sergei.nevdakh/Qt/6.2.online/6.2.0/macos/lib/QtWebEngineCore.framework/Helpers/QtWebEngineProcess.app/Contents/MacOS/QtWebEngineProcess Reason: image not found .....
And a lot of restart attempts in output.
Attachments
Issue Links
- is duplicated by
-
QTBUG-96729 Windows/macOS cannot run WebEngine projects
- Closed
- relates to
-
QTBUG-96093 QtWebEngineProcess cannot start
- Closed
- resulted in
-
QTQAINFRA-4557 RTA tests should cover libs relocation case
- Closed
For Gerrit Dashboard: QTBUG-96539 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
371177,4 | Fix for macOS framework rpath | 6.2.0 | qt/qtwebengine | Status: ABANDONED | 0 | 0 |
371185,6 | Fix rpaths on mac framework builds | 6.2.0 | qt/qtwebengine | Status: MERGED | +2 | 0 |
371276,4 | Fix rpaths on mac framework builds | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
371474,2 | Fix rpaths on mac framework builds | 6.2 | qt/qtwebengine | Status: MERGED | +2 | 0 |