Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS WebEngine not working in deployed package #69

Open
SBriere opened this issue Jul 20, 2022 · 2 comments
Open

MacOS WebEngine not working in deployed package #69

SBriere opened this issue Jul 20, 2022 · 2 comments
Labels

Comments

@SBriere
Copy link
Member

SBriere commented Jul 20, 2022

Code signing of the webengine (used to display GPS data on a map) doesn't seem to be properly working for now on Mac OS.
Feature has been disabled on Mac OS.

Investigate and fix the issue - maybe related to wrong entitlement or missing signing on some dependencies?

@SBriere SBriere added the bug label Jul 20, 2022
@SBriere
Copy link
Member Author

SBriere commented Jul 20, 2022

Looking deeper, the issue is with the codesigning flag "--deep" which sign every library in the package. Since we need to put some entitlements on the webengine but don't want to put them on the whole app (since that would make the Apple Gatekeeper complains and not allow the app to run), we need to put them only on the webengineprocess. However, when running the code signing process with the "deep" option afterwards, the signature gets overwritten, and entitlements are lost.

The solution is probably to manually sign every library in the whole package, which is not an easy task considering we are using Qt libs and PySide6 integration with a lot of libraries and dependencies...

SBriere added a commit that referenced this issue Jul 20, 2022
@doumdi
Copy link
Member

doumdi commented Aug 2, 2022

@SBriere This might solve the problem on Mac : https://doc.qt.io/qt-6/qtwebview-index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants