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. How to run QtWebEngineProcess.app in Xcode debugger
Qt 6.11 is out! See what's new in the release blog

How to run QtWebEngineProcess.app in Xcode debugger

Scheduled Pinned Locked Moved Solved QtWebEngine
2 Posts 1 Posters 818 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.
  • G Offline
    G Offline
    glennr
    wrote on last edited by
    #1

    I have a PyQt5 app that uses QWebEngineView (Qt 5.12.7 + PyQt 5.14.2). When running it on MacOS 10.15.4 via Xcode I see the following message in the Xcode debugger:

    QtWebEngineProcess[44593:11856356] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x10c041010> (Domain: com.apple.universalaccess, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): accessing preferences outside an application's container requires user-preference-read or file-read-data sandbox access
    

    I guess that this is related somehow to entitlements but I can't find any information about how to enable these for debugging as all the available information seems to be related to signing for deployment.

    What do I need to do to make this work for running it during development?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      glennr
      wrote on last edited by
      #2

      This was caused by using MacPorts versions of Qt and PyQt. Building my own from source has resolved the issue.

      1 Reply Last reply
      0

      • Login

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