Skip to content

Commit 4eb28b2

Browse files
committed
Qt 6.8.4
1 parent c29b735 commit 4eb28b2

5 files changed

Lines changed: 36 additions & 51 deletions

File tree

.dockerignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
*
2-
!.github/
3-
!.github/qt_helper.py

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ jobs:
9090
- name: install dependencies
9191
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi libsodium ninja openssl pkg-config protobuf unbound zeromq aria2
9292
- name: download Qt
93-
run: mkdir qt6.8.3 && cd qt6.8.3 && python3 ../monero-gui/.github/qt_helper.py mac_x64 desktop 6.8.3 clang_64 c9cdbe2ad3d34cf6e675a7e6eaf5a16560a51305dd06aed97b8d93359b1b90fa
93+
run: mkdir qt6.11.1 && cd qt6.11.1 && python3 ../monero-gui/.github/qt_helper.py mac_x64 desktop 6.11.1 clang_64 4a88665d61643410399e15d2cc7625cca62d7f5a005d88c02a1e17dde7d9f62c
9494
working-directory: ../
9595
- name: configure
9696
run: >
9797
cmake -S . -B build -G Ninja
98-
-D CMAKE_PREFIX_PATH="/Users/runner/work/monero-gui/qt6.8.3/"
99-
-D CMAKE_OSX_DEPLOYMENT_TARGET="12.0"
98+
-D CMAKE_PREFIX_PATH="/Users/runner/work/monero-gui/qt6.11.1/"
99+
-D CMAKE_OSX_DEPLOYMENT_TARGET="13.0"
100100
-D ARCH=default
101101
- name: build
102102
run: cmake --build build

Dockerfile.android

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
FROM debian:bookworm
22

33
ARG THREADS=1
4-
ARG QT_VERSION=v6.8.3
5-
ARG QT_COMMIT=bab1fecd556ea561c4a89686293116741acfa1b4
4+
ARG QT_VERSION=v6.8.4-lts-lgpl
5+
ARG QT_COMMIT=487fcaa501534f0906dd2c19714f9052164142fc
66
ARG ANDROID_NDK_REVISION=26d
77
ARG ANDROID_NDK_HASH=eefeafe7ccf177de7cc57158da585e7af119bb7504a63604ad719e4b2a328b54
88
ARG ANDROID_SDK_REVISION=11076708_latest
99
ARG ANDROID_SDK_HASH=2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258
10-
ARG QT_HOST_VERSION=6.8.3
11-
ARG QT_HOST_SHA256=8bbea76f5298021048f54c3e2934d7a73e2e6498ebc5a0cb30de16e24a66d847
1210

1311
WORKDIR /opt/android
1412
ENV WORKDIR=/opt/android
@@ -28,9 +26,9 @@ ENV TOOLCHAIN_DIR=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64
2826
ENV DEBIAN_FRONTEND=noninteractive
2927

3028
RUN apt-get update \
31-
&& apt-get install -y ant aria2 automake build-essential ca-certificates-java file gettext git libc6 libncurses5 \
29+
&& apt-get install -y ant automake build-essential ca-certificates-java file gettext git libc6 libncurses5 \
3230
libdbus-1-3 libegl1 libfontconfig1 libfreetype6 libgl1 libglib2.0-0 libgssapi-krb5-2 libssl-dev \
33-
libstdc++6 libtinfo5 libtool libx11-6 libxkbcommon0 libz1 libzstd1 libarchive-tools ninja-build openjdk-17-jdk-headless \
31+
libstdc++6 libtinfo5 libtool libx11-6 libxkbcommon0 libz1 libzstd1 ninja-build openjdk-17-jdk-headless \
3432
openjdk-17-jre-headless pkg-config python3 unzip wget \
3533
&& rm -rf /var/lib/apt/lists/*
3634

@@ -63,20 +61,19 @@ RUN git clone -b v4.3.3 --depth 1 https://github.com/Kitware/CMake \
6361
ENV HOST_PATH=${PATH}
6462
ENV PATH=${TOOLCHAIN_DIR}/aarch64-linux-android/bin:${TOOLCHAIN_DIR}/bin:${PATH}
6563

66-
COPY .github/qt_helper.py /tmp/qt_helper.py
67-
68-
RUN mkdir -p "${QT_HOST_PREFIX}" \
64+
RUN git clone https://github.com/qt/qt5.git -b ${QT_VERSION} --depth 1 qt-sources \
65+
&& git -C qt-sources reset --hard ${QT_COMMIT} \
66+
&& mkdir -p "${QT_HOST_PREFIX}" \
6967
&& cd "${QT_HOST_PREFIX}" \
70-
&& python3 /tmp/qt_helper.py linux_x64 desktop "${QT_HOST_VERSION}" linux_gcc_64 "${QT_HOST_SHA256}" \
71-
--add-package addons.qtshadertools \
72-
--archive 'qtbase-*.7z' \
73-
--archive 'qtdeclarative-*.7z' \
74-
--archive 'qttools-*.7z' \
75-
--archive 'icu-*.7z' \
76-
--archive 'qtshadertools-*.7z' \
77-
&& rm /tmp/qt_helper.py \
78-
&& printf '%s\n%s\n' "${QT_HOST_PREFIX}/lib" "${QT_HOST_PREFIX}" > /etc/ld.so.conf.d/qt-host.conf \
79-
&& ldconfig
68+
&& PATH=${HOST_PATH} ../qt-sources/configure -init-submodules \
69+
-submodules qtbase,qtdeclarative,qtshadertools,qtsvg,qttools \
70+
-developer-build \
71+
-opensource \
72+
-confirm-license \
73+
-release \
74+
-nomake examples \
75+
-nomake tests \
76+
&& PATH=${HOST_PATH} cmake --build . --parallel ${THREADS} --target host_tools
8077

8178
ARG ZLIB_VERSION=1.3.1
8279
ARG ZLIB_HASH=9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
@@ -90,9 +87,7 @@ RUN wget -q https://github.com/madler/zlib/releases/download/v${ZLIB_VERSION}/zl
9087
&& make -j${THREADS} install \
9188
&& rm -rf $(pwd)
9289

93-
RUN git clone https://github.com/qt/qt5.git -b ${QT_VERSION} --depth 1 qt-sources \
94-
&& git -C qt-sources reset --hard ${QT_COMMIT} \
95-
&& mkdir qt-build-android \
90+
RUN mkdir qt-build-android \
9691
&& cd qt-build-android \
9792
&& PATH=${HOST_PATH} ../qt-sources/configure -init-submodules \
9893
-submodules qtbase,qtdeclarative,qtshadertools,qtsvg,qttools \

Dockerfile.linux

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM ubuntu:20.04
22

33
ARG THREADS=1
4-
ARG QT_VERSION=v6.8.3
5-
ARG QT_COMMIT=bab1fecd556ea561c4a89686293116741acfa1b4
4+
ARG QT_VERSION=v6.8.4-lts-lgpl
5+
ARG QT_COMMIT=487fcaa501534f0906dd2c19714f9052164142fc
66

77
ENV CFLAGS="-fPIC"
88
ENV CPPFLAGS="-fPIC"

Dockerfile.windows

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
FROM ubuntu:24.04
22

33
ARG THREADS=1
4-
ARG QT_VERSION=6.8.3
5-
ARG QT_COMMIT=bab1fecd556ea561c4a89686293116741acfa1b4
6-
ARG QT_HOST_SHA256=8bbea76f5298021048f54c3e2934d7a73e2e6498ebc5a0cb30de16e24a66d847
4+
ARG QT_VERSION=v6.8.4-lts-lgpl
5+
ARG QT_COMMIT=487fcaa501534f0906dd2c19714f9052164142fc
76

87
ENV SOURCE_DATE_EPOCH=1397818193
98
ENV QT_HOST_PATH=/opt/qt-host
@@ -15,7 +14,6 @@ RUN apt update && \
1514
DEBIAN_FRONTEND=noninteractive apt install -y \
1615
autoconf \
1716
automake \
18-
aria2 \
1917
autopoint \
2018
bison \
2119
build-essential \
@@ -27,7 +25,6 @@ RUN apt update && \
2725
gettext \
2826
git \
2927
gperf \
30-
libarchive-tools \
3128
libdbus-1-3 \
3229
libfontconfig1-dev \
3330
libglib2.0-0 \
@@ -55,24 +52,19 @@ RUN git clone -b v0.18.5.1 --depth 1 https://github.com/monero-project/monero &&
5552

5653
RUN make -j"$THREADS" -C /depends HOST=x86_64-w64-mingw32
5754

58-
COPY .github/qt_helper.py /tmp/qt_helper.py
59-
60-
# Reuse Qt's matching Linux host tools instead of compiling them from source.
61-
RUN mkdir -p "${QT_HOST_PATH}" \
62-
&& cd "${QT_HOST_PATH}" \
63-
&& python3 /tmp/qt_helper.py linux_x64 desktop "${QT_VERSION}" linux_gcc_64 "${QT_HOST_SHA256}" \
64-
--add-package addons.qtshadertools \
65-
--archive 'qtbase-*.7z' \
66-
--archive 'qtdeclarative-*.7z' \
67-
--archive 'qttools-*.7z' \
68-
--archive 'icu-*.7z' \
69-
--archive 'qtshadertools-*.7z' \
70-
&& rm /tmp/qt_helper.py \
71-
&& printf '%s\n%s\n' "${QT_HOST_PATH}/lib" "${QT_HOST_PATH}" > /etc/ld.so.conf.d/qt-host.conf \
72-
&& ldconfig
73-
74-
RUN git clone https://github.com/qt/qt5.git -b "v${QT_VERSION}" --depth 1 qt-sources && \
55+
RUN git clone https://github.com/qt/qt5.git -b "${QT_VERSION}" --depth 1 qt-sources && \
7556
git -C qt-sources reset --hard "${QT_COMMIT}" && \
57+
mkdir -p "${QT_HOST_PATH}" && \
58+
cd "${QT_HOST_PATH}" && \
59+
/qt-sources/configure -init-submodules \
60+
-submodules qtbase,qtdeclarative,qtshadertools,qtsvg,qttools \
61+
-developer-build \
62+
-opensource \
63+
-confirm-license \
64+
-release \
65+
-nomake examples \
66+
-nomake tests && \
67+
cmake --build . --parallel "$THREADS" --target host_tools && \
7668
mkdir /qt-target-build && \
7769
cd /qt-target-build && \
7870
/qt-sources/configure -init-submodules \

0 commit comments

Comments
 (0)