From 999e4264c59599387012a3c9bf4bd78c9f659e63 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 21 Dec 2021 15:46:27 +0000 Subject: [PATCH] Move macOS and Linux builds to Qt 6.2.2. --- Telegram/build/prepare/prepare.py | 18 +++++++++--------- snap/snapcraft.yaml | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index 991444d1b..c37f50152 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -401,7 +401,7 @@ if customRunCommand: stage('patches', """ git clone https://github.com/desktop-app/patches.git cd patches - git checkout 4c21dfa0db + git checkout 5368789dc7 """) stage('depot_tools', """ @@ -1124,28 +1124,28 @@ mac: """) if buildQt6: - stage('qt_6_2_0', """ + stage('qt_6_2_2', """ mac: - git clone -b v6.2.0 git://code.qt.io/qt/qt5.git qt_6_2_0 - cd qt_6_2_0 + git clone -b v6.2.2 git://code.qt.io/qt/qt5.git qt_6_2_2 + cd qt_6_2_2 perl init-repository --module-subset=qtbase,qtimageformats,qtsvg,qt5compat -depends:patches/qtbase_6_2_0/*.patch +depends:patches/qtbase_6_2_2/*.patch cd qtbase - find ../../patches/qtbase_6_2_0 -type f -print0 | sort -z | xargs -0 git apply + find ../../patches/qtbase_6_2_2 -type f -print0 | sort -z | xargs -0 git apply cd .. -depends:patches/qt5compat_6_2_0/*.patch +depends:patches/qt5compat_6_2_2/*.patch cd qt5compat - find ../../patches/qt5compat_6_2_0 -type f -print0 | sort -z | xargs -0 git apply + find ../../patches/qt5compat_6_2_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.2.0" \ + ./configure -prefix "$USED_PREFIX/Qt-6.2.2" \ $CONFIGURATIONS \ -force-debug-info \ -opensource \ diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index babaa3b36..e1c64b7a7 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -377,9 +377,9 @@ parts: - libxkbcommon-x11-0 - zlib1g override-pull: | - QT=6_2_0 + QT=6_2_2 - git clone -b v6.2.0 --depth=1 git://code.qt.io/qt/qt5.git . + git clone -b v6.2.2 --depth=1 git://code.qt.io/qt/qt5.git . perl init-repository --module-subset=qtbase,qtwayland,qtimageformats,qtsvg,qt5compat cd qtbase