Skip to content

fix: link_pyqt.py excluding QtWebProcess.exe files and QtWebEngine resources on Windows - #8989

Open
qqueeeeee wants to merge 1 commit into
qutebrowser:mainfrom
qqueeeeee:main
Open

fix: link_pyqt.py excluding QtWebProcess.exe files and QtWebEngine resources on Windows#8989
qqueeeeee wants to merge 1 commit into
qutebrowser:mainfrom
qqueeeeee:main

Conversation

@qqueeeeee

Copy link
Copy Markdown

On Windows, scripts/link_pyqt.py is supposed to copy the system-wide PyQt installation into the tox virtualenv (via get_ignored_files / copy_or_link). However, .exe files are never actually copied, because needed_exts never correctly matches the .exe extension. This means QtWebEngineProcess.exe and the resources/ directory never get linked into the tox venv on Windows, which breaks any test or usage that spins up QtWebEngine, you get errors about the WebEngine process failing to start, or missing resource files, with no indication that the cause is an incomplete copy.

So, the script now has the required file extension additions (.exe, .pak, .dat, .bin) which lets it fully copy the required files like the QtWebEngineProcess.exe into the .tox directory.

@qqueeeeee qqueeeeee changed the title fix: added extensions in link_pyqt to work with windows fix: link_pyqt.py excluding QtWebProcess.exe files and QtWebEngine resources on Windows Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant