2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Update Qt to 6.2.3 on macOS and Linux.

This commit is contained in:
John Preston
2022-03-05 17:03:03 +04:00
parent 1ddc0c1977
commit d2d41f978d
4 changed files with 15 additions and 15 deletions

View File

@@ -10,9 +10,9 @@ ENV QT5_VER 5_15_2
ENV QT5_TAG v5.15.2
ENV QT5_PREFIX /usr/local/desktop-app/Qt-5.15.2
ENV Qt5_DIR ${QT5_PREFIX}
ENV QT6_VER 6_2_2
ENV QT6_TAG v6.2.2
ENV QT6_PREFIX /usr/local/desktop-app/Qt-6.2.2
ENV QT6_VER 6_2_3
ENV QT6_TAG v6.2.3
ENV QT6_PREFIX /usr/local/desktop-app/Qt-6.2.3
ENV Qt6_DIR ${QT6_PREFIX}
ENV OPENSSL_VER 1_1_1
ENV OPENSSL_PREFIX /usr/local/desktop-app/openssl-1.1.1
@@ -51,7 +51,7 @@ RUN ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
RUN rm $CMAKE_FILE
FROM builder AS patches
RUN git clone $GIT/desktop-app/patches.git && cd patches && git checkout 1206363d59
RUN git clone $GIT/desktop-app/patches.git && cd patches && git checkout 49d233d5de
FROM builder AS libffi
RUN git clone -b v3.4.2 --depth=1 $GIT/libffi/libffi.git

View File

@@ -400,7 +400,7 @@ if customRunCommand:
stage('patches', """
git clone https://github.com/desktop-app/patches.git
cd patches
git checkout 47d447b531
git checkout 49d233d5de
""")
stage('depot_tools', """
@@ -1195,28 +1195,28 @@ mac:
""")
if buildQt6:
stage('qt_6_2_2', """
stage('qt_6_2_3', """
mac:
git clone -b v6.2.2 https://code.qt.io/qt/qt5.git qt_6_2_2
cd qt_6_2_2
git clone -b v6.2.3 https://code.qt.io/qt/qt5.git qt_6_2_3
cd qt_6_2_3
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg,qt5compat
depends:patches/qtbase_6_2_2/*.patch
depends:patches/qtbase_6_2_3/*.patch
cd qtbase
find ../../patches/qtbase_6_2_2 -type f -print0 | sort -z | xargs -0 git apply
find ../../patches/qtbase_6_2_3 -type f -print0 | sort -z | xargs -0 git apply
cd ..
depends:patches/qt5compat_6_2_2/*.patch
depends:patches/qt5compat_6_2_3/*.patch
cd qt5compat
find ../../patches/qt5compat_6_2_2 -type f -print0 | sort -z | xargs -0 git apply
find ../../patches/qt5compat_6_2_3 -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.2" \
./configure -prefix "$USED_PREFIX/Qt-6.2.3" \
$CONFIGURATIONS \
-force-debug-info \
-opensource \

2
cmake

Submodule cmake updated: f05023bb10...aa71b768bd