docker: Try working around QtWebKit issues

This commit is contained in:
Florian Bruhin 2025-05-07 17:59:15 +02:00 committed by Chad Kouse
parent 5cb145f252
commit 10469d97b3
No known key found for this signature in database
GPG Key ID: 2BBC602A2578C7A2
1 changed files with 6 additions and 0 deletions

View File

@ -93,6 +93,12 @@ USER user
WORKDIR /home/user
RUN git config --global --add safe.directory /outside/.git
{% if not webengine %}
# Unknown May 2025 crashes with QtWebKit
ENV QT_XCB_FORCE_SOFTWARE_OPENGL=1
ENV QT_QUICK_BACKEND=software
{% endif %}
CMD git clone /outside qutebrowser.git && \
cd qutebrowser.git && \
{{ python }} -m tox -e {% if qt6 %}py-qt6{% else %}py-qt5{% endif %}