docker: Try working around QtWebKit issues

This commit is contained in:
Florian Bruhin 2025-05-07 17:59:15 +02:00
parent 74c7ff2641
commit 6cbf2847c8
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 %}