From 968f73d050f158fc32e087e644e5eaf985cbe5e0 Mon Sep 17 00:00:00 2001
From: Maxim Slipenko <no-reply@maxim.slipenko.com>
Date: Mon, 10 Jun 2024 11:44:06 +0300
Subject: [PATCH] wip

---
 manylinux_2_31/Dockerfile | 7 ++++---
 scripts/install_qt.sh     | 2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/manylinux_2_31/Dockerfile b/manylinux_2_31/Dockerfile
index 126ac31..02cc552 100644
--- a/manylinux_2_31/Dockerfile
+++ b/manylinux_2_31/Dockerfile
@@ -29,10 +29,11 @@ ENV PATH=/root/.local/bin:$PATH
 ARG QT_VERSION=6.4.2
 ENV QT_VERSION=${QT_VERSION}
 
-COPY ./scripts/install_qt.sh ./aqt.cfg /
-RUN aqt -c /aqt.cfg install-src --outputdir /opt/Qt-src linux ${QT_VERSION}
 COPY ./qt-patches/ /qt-patches
-RUN cd /opt/Qt-src/${QT_VERSION}/Src && /qt-patches/apply-patches.sh
+COPY ./scripts/install_qt.sh ./aqt.cfg /
+# RUN aqt -c /aqt.cfg install-src --outputdir /opt/Qt-src linux ${QT_VERSION}
+
+# RUN cd /opt/Qt-src/${QT_VERSION}/Src && /qt-patches/apply-patches.sh
 
 RUN /install_qt.sh && rm -f /install_qt.sh
 
diff --git a/scripts/install_qt.sh b/scripts/install_qt.sh
index bdf02cb..26205cc 100755
--- a/scripts/install_qt.sh
+++ b/scripts/install_qt.sh
@@ -15,7 +15,7 @@ if [[ "$(uname -m)" == "x86_64" ]]; then
     mv gcc_64/.* .
     rmdir gcc_64
 else
-    # aqt -c /aqt.cfg install-src --outputdir /opt/Qt-src linux desktop ${QT_VERSION}
+    aqt -c /aqt.cfg install-src --outputdir /opt/Qt-src linux desktop ${QT_VERSION}
 
     cd /opt/Qt-src/${QT_VERSION}/Src
     /qt-patches/apply-patches.sh