Use GCC 14 for Docker static Qt link

ober

b9741bc0a64587029b54fca32ca0ef62db0a6791

diff --git a/Dockerfile.qt b/Dockerfile.qt
index fa9e14a..6bca3a2 100644
--- a/Dockerfile.qt
+++ b/Dockerfile.qt
@@ -270,6 +270,8 @@ FROM ${JERBOA_IMAGE} AS builder
 
 # Install Ubuntu build deps needed for jemacs-qt compilation
 RUN apt-get update && apt-get install -y --no-install-recommends \
+    gcc-14 \
+    g++-14 \
     g++ \
     libncurses-dev \
     libpcre2-dev \
@@ -278,6 +280,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
     pkg-config \
     && rm -rf /var/lib/apt/lists/*
 
+RUN ln -sf /usr/bin/gcc-14 /usr/local/bin/gcc && \
+    ln -sf /usr/bin/g++-14 /usr/local/bin/g++
+
 # Copy Qt6 static libs and tools from Alpine stage
 COPY --from=qt-alpine /opt/qt6-static /opt/qt6-static
 COPY --from=qt-alpine /opt/qt-static-deps/lib/ /usr/local/lib/