-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix QtWebEngine with PyQt6 framework builds #6892
Fix QtWebEngine with PyQt6 framework builds #6892
Conversation
Nice catch! This has gone unnoticed because the tests are passing in spite of the |
Please add a news entry for the PR; then this should be good to go. |
Updated! Will take a look if I can make the test more strict. |
27f018f
to
538083c
Compare
Test pushed too now. Fails for me locally without the change, and will hopefully pass everywhere on CI. |
9b77094
to
ce59a56
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from the backticks in news fragment, this looks good. Thanks for taking care of the test as well!
ce59a56
to
69f55bf
Compare
Whoops! News fragment fixed now. FWIW over at pytest we set Sphinx' |
I quite like to set the default Sphinx role to |
FYI, just in case you weren't aware: Since some while, GitHub supports enabling a "Enable auto-merge" button which does this automatically:
If you're already aware and there's a reason why this doesn't work out for PyInstaller, ignore me 😅 |
You know, I can't figure out how to get that feature working at all. I've got the box checked under https://github.com/pyinstaller/pyinstaller/settings#merge-button-settings... ... which I expect to lead to an automerge button appearing somewhere on: But there's no visible changes at all. Nor can I find anywhere to specify exactly what our merge requirements should be (CI passing and at least one stamp of approval from one of the core devs). |
Thanks for the merge! 🎉 I believe those are set up as branch protection rules, under "Branches" in the repository settings: Managing a branch protection rule - GitHub Docs |
Ahh got it now. I needed to add a rule to make all changes to |
With a PyPI-installed
PyQt6-WebEngine
(i.e., from what I understand, a framework-based install) on macOS, some libraries seem to be missing for the renderer process.The first issue I got was that
QtWebEngineProcess
can't findQtOpenGL
(which is new in Qt 6 and split from QtGui):Adding QtOpenGL to the libraries being copied in a framework build seems to help.
With that fixed (
pip install git+https://github.com/the-compiler/pyinstaller@4d6cf4b
), I'm getting a similar error aboutQtDBus
, viaQtGui
:Why QtGui seems to depend on QtDBus on macOS (!) is beyond me, but whatever, let's add it as well.
With both fixes, only this is remaining:
which seems to be non-fatal, as it seems to work in the end.