[Qt 5.15.2] QWebEngineView crashes the sandboxed app on MacOS
-
Hi. I am using
QWebEngineViewandQWebEnginePagein myQt 5.15.2application and everything works perfect in the development environment (Qt Creator). However, when I build the final sandboxed macOS app, when the app tries to runQWebEngine, the application crashes with the following log:[84507:91671:1107/213108.495248:FATAL:mach_port_rendezvous.cc(141)] Check failed: kr == KERN_SUCCESS. bootstrap_check_in org.chromium.Chromium.MachPortRendezvousServer.84507: Permission denied (1100)I think it might be related to the permissions that the app has or to some directive that should be added to the
.entitlementsfile, needed to build the app, but I haven't found any solution yet. Can anyone help me with this?Thanks in advance.
-
Hi. I am using
QWebEngineViewandQWebEnginePagein myQt 5.15.2application and everything works perfect in the development environment (Qt Creator). However, when I build the final sandboxed macOS app, when the app tries to runQWebEngine, the application crashes with the following log:[84507:91671:1107/213108.495248:FATAL:mach_port_rendezvous.cc(141)] Check failed: kr == KERN_SUCCESS. bootstrap_check_in org.chromium.Chromium.MachPortRendezvousServer.84507: Permission denied (1100)I think it might be related to the permissions that the app has or to some directive that should be added to the
.entitlementsfile, needed to build the app, but I haven't found any solution yet. Can anyone help me with this?Thanks in advance.
@Alexuds79 In case anyone finds the same problem in the future, using
QtWebView(https://doc.qt.io/qt-5.15/qtwebview-index.html) instead ofQtWebEngineViewseems to solve the problem onMacOS.However, on
Windows(again with the final application built), it seems thatQtWebEngineViewworks perfectly butQtWebViewdoes not (the WebView QML component is not shown).Fortunately, with simple logic you can use one or the other depending on the platform.
-
A Alexuds79 has marked this topic as solved on