mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-09-05 19:43:24 +02:00
Update Qt to 6.2.3 on macOS and Linux.
This commit is contained in:
parent
1ddc0c1977
commit
d2d41f978d
4 changed files with 15 additions and 15 deletions
|
@ -10,9 +10,9 @@ ENV QT5_VER 5_15_2
|
||||||
ENV QT5_TAG v5.15.2
|
ENV QT5_TAG v5.15.2
|
||||||
ENV QT5_PREFIX /usr/local/desktop-app/Qt-5.15.2
|
ENV QT5_PREFIX /usr/local/desktop-app/Qt-5.15.2
|
||||||
ENV Qt5_DIR ${QT5_PREFIX}
|
ENV Qt5_DIR ${QT5_PREFIX}
|
||||||
ENV QT6_VER 6_2_2
|
ENV QT6_VER 6_2_3
|
||||||
ENV QT6_TAG v6.2.2
|
ENV QT6_TAG v6.2.3
|
||||||
ENV QT6_PREFIX /usr/local/desktop-app/Qt-6.2.2
|
ENV QT6_PREFIX /usr/local/desktop-app/Qt-6.2.3
|
||||||
ENV Qt6_DIR ${QT6_PREFIX}
|
ENV Qt6_DIR ${QT6_PREFIX}
|
||||||
ENV OPENSSL_VER 1_1_1
|
ENV OPENSSL_VER 1_1_1
|
||||||
ENV OPENSSL_PREFIX /usr/local/desktop-app/openssl-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
|
RUN rm $CMAKE_FILE
|
||||||
|
|
||||||
FROM builder AS patches
|
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
|
FROM builder AS libffi
|
||||||
RUN git clone -b v3.4.2 --depth=1 $GIT/libffi/libffi.git
|
RUN git clone -b v3.4.2 --depth=1 $GIT/libffi/libffi.git
|
||||||
|
|
|
@ -400,7 +400,7 @@ if customRunCommand:
|
||||||
stage('patches', """
|
stage('patches', """
|
||||||
git clone https://github.com/desktop-app/patches.git
|
git clone https://github.com/desktop-app/patches.git
|
||||||
cd patches
|
cd patches
|
||||||
git checkout 47d447b531
|
git checkout 49d233d5de
|
||||||
""")
|
""")
|
||||||
|
|
||||||
stage('depot_tools', """
|
stage('depot_tools', """
|
||||||
|
@ -1195,28 +1195,28 @@ mac:
|
||||||
""")
|
""")
|
||||||
|
|
||||||
if buildQt6:
|
if buildQt6:
|
||||||
stage('qt_6_2_2', """
|
stage('qt_6_2_3', """
|
||||||
mac:
|
mac:
|
||||||
git clone -b v6.2.2 https://code.qt.io/qt/qt5.git 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_2
|
cd qt_6_2_3
|
||||||
perl init-repository --module-subset=qtbase,qtimageformats,qtsvg,qt5compat
|
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
|
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 ..
|
cd ..
|
||||||
|
|
||||||
depends:patches/qt5compat_6_2_2/*.patch
|
depends:patches/qt5compat_6_2_3/*.patch
|
||||||
cd qt5compat
|
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 ..
|
cd ..
|
||||||
|
|
||||||
CONFIGURATIONS=-debug
|
CONFIGURATIONS=-debug
|
||||||
release:
|
release:
|
||||||
CONFIGURATIONS=-debug-and-release
|
CONFIGURATIONS=-debug-and-release
|
||||||
mac:
|
mac:
|
||||||
./configure -prefix "$USED_PREFIX/Qt-6.2.2" \
|
./configure -prefix "$USED_PREFIX/Qt-6.2.3" \
|
||||||
$CONFIGURATIONS \
|
$CONFIGURATIONS \
|
||||||
-force-debug-info \
|
-force-debug-info \
|
||||||
-opensource \
|
-opensource \
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit d2e482dac3e5ddbc200228d14d04d7d624c98af7
|
Subproject commit f2c77daccc055da283d0b5985f9c0c774a28709b
|
2
cmake
2
cmake
|
@ -1 +1 @@
|
||||||
Subproject commit f05023bb10c69de6395a16f00f9003ee6256e4e4
|
Subproject commit aa71b768bd6e958753a5e5ced5203d65cc93a6b1
|
Loading…
Add table
Reference in a new issue