Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. [Qt 5.15.2] QWebEngineView crashes the sandboxed app on MacOS
Forum Updated to NodeBB v4.3 + New Features

[Qt 5.15.2] QWebEngineView crashes the sandboxed app on MacOS

Scheduled Pinned Locked Moved Solved QtWebEngine
2 Posts 1 Posters 520 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexuds79
    wrote on last edited by
    #1

    Hi. I am using QWebEngineView and QWebEnginePage in my Qt 5.15.2 application and everything works perfect in the development environment (Qt Creator). However, when I build the final sandboxed macOS app, when the app tries to run QWebEngine, 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 .entitlements file, needed to build the app, but I haven't found any solution yet. Can anyone help me with this?

    Thanks in advance.

    A 1 Reply Last reply
    0
    • A Alexuds79

      Hi. I am using QWebEngineView and QWebEnginePage in my Qt 5.15.2 application and everything works perfect in the development environment (Qt Creator). However, when I build the final sandboxed macOS app, when the app tries to run QWebEngine, 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 .entitlements file, needed to build the app, but I haven't found any solution yet. Can anyone help me with this?

      Thanks in advance.

      A Offline
      A Offline
      Alexuds79
      wrote on last edited by
      #2

      @Alexuds79 In case anyone finds the same problem in the future, using QtWebView (https://doc.qt.io/qt-5.15/qtwebview-index.html) instead of QtWebEngineView seems to solve the problem on MacOS.

      However, on Windows (again with the final application built), it seems that QtWebEngineView works perfectly but QtWebView does not (the WebView QML component is not shown).

      Fortunately, with simple logic you can use one or the other depending on the platform.

      1 Reply Last reply
      0
      • A Alexuds79 has marked this topic as solved on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved