Skip to content

Commit

Permalink
Add packages to ease Qt6 Kiwix-Desktop compil.
Browse files Browse the repository at this point in the history
  • Loading branch information
kelson42 committed Dec 30, 2024
1 parent e41bc19 commit f0478aa
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions kiwix-build_ci/jammy_builder.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ RUN apt update -q \
libmicrohttpd-dev aria2 libgtest-dev libgl-dev \
# Devel package to compile python modules
libxml2-dev libxslt-dev python3-dev \
# Qt packages
# Qt5 packages
libqt5gui5 qtbase5-dev qtwebengine5-dev libqt5svg5-dev qt5-image-formats-plugins \
# Qt6 packages
qt6-base-dev qt6-base-dev-tools qt6-webengine-dev libqt6webenginecore6-bin libqt6svg6 \
# To create the appimage of kiwix-desktop
libfuse2 fuse patchelf \
# Flatpak tools
Expand All @@ -32,8 +34,9 @@ RUN apt update -q \
&& rm -rf /var/lib/apt/lists/* /usr/share/doc/* /var/cache/debconf/* \
&& pip3 install meson pytest gcovr requests distro

# QT_SELECT has to be set to Qt5 so Kiwix Linux/Windows compiles
ENV QT_SELECT qt5
# Set Qt6 per default (QT_SELECT has to be set to Qt5 so Kiwix Linux/Windows compiles)
RUN qtchooser -install qt6 $(which qmake6)
ENV QT_SELECT qt6

# Create user
RUN groupadd --gid 121 runner
Expand Down

0 comments on commit f0478aa

Please sign in to comment.