From fa4496db016da236d6856177eea6fe85ccfaae4d Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Thu, 18 Apr 2024 16:30:15 +0100 Subject: [PATCH] add pyside6 system dependencies --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index c4404ecabb..4e70aa5621 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,14 @@ ARG PYTHON_VERSION=3.11 FROM python:${PYTHON_VERSION} as developer +# Allow Qt 6 (pyside6) UI to work in the container - also see apt-get below +ENV MPLBACKEND=QtAgg + # Add any system dependencies for the developer/build environment here RUN apt-get update && apt-get install -y --no-install-recommends \ graphviz \ + libxcb-cursor0 \ + qt6-base-dev \ && rm -rf /var/lib/apt/lists/* # Set up a virtual environment and put it in PATH