From cd85c4911c7ad39754b7c343ae60a0369ee03dc6 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 6 Dec 2022 16:38:07 +0400 Subject: [PATCH] Migrate macOS build to patched Qt 6.3.2. Fixes #24915. --- CMakeLists.txt | 2 +- Telegram/build/prepare/prepare.py | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c0f325b43..728a1013b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ if (NOT DESKTOP_APP_USE_PACKAGED) if (WIN32) set(qt_version 5.15.4) elseif (APPLE) - set(qt_version 6.3.1) + set(qt_version 6.3.2) else() set(qt_version 6.4.1) endif() diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index b97095f1da..84073cc300 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -397,7 +397,7 @@ if customRunCommand: stage('patches', """ git clone https://github.com/desktop-app/patches.git cd patches - git checkout b14854c6f6 + git checkout 2af5b01c6b """) stage('msys64', """ @@ -1147,22 +1147,22 @@ mac: """) if buildQt6: - stage('qt_6_3_1', """ + stage('qt_6_3_2', """ mac: - git clone -b v6.3.1 https://code.qt.io/qt/qt5.git qt_6_3_1 - cd qt_6_3_1 + git clone -b v6.3.2 https://code.qt.io/qt/qt5.git qt_6_3_2 + cd qt_6_3_2 perl init-repository --module-subset=qtbase,qtimageformats,qtsvg,qt5compat -depends:patches/qtbase_6_3_1/*.patch +depends:patches/qtbase_6_3_2/*.patch cd qtbase - find ../../patches/qtbase_6_3_1 -type f -print0 | sort -z | xargs -0 git apply + find ../../patches/qtbase_6_3_2 -type f -print0 | sort -z | xargs -0 git apply cd .. CONFIGURATIONS=-debug release: CONFIGURATIONS=-debug-and-release mac: - ./configure -prefix "$USED_PREFIX/Qt-6.3.1" \ + ./configure -prefix "$USED_PREFIX/Qt-6.3.2" \ $CONFIGURATIONS \ -force-debug-info \ -opensource \