Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add packages to ease Qt6 Kiwix-Desktop compil. #273

Merged
merged 1 commit into from
Jan 5, 2025

Conversation

kelson42
Copy link
Contributor

We want to ease Qt6 based Kiwix Desktop 2.5.0+ compilation.
See kiwix/kiwix-build#594

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the intent to make Qt6 the default with jammy, but then override the kiwix-desktop build on jammy to use qt5? Or to build with both Qt5 and Qt6 on jammy? Right now using the jammy container implies Qt5.

Copy link
Contributor Author

@kelson42 kelson42 Jan 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intent on Jammy is to:

  • be able to build with either with qt6 or qt5
  • per default, without any additional work it should compile with qt6
  • CD will compile with qt6 and CI with qt5

@kelson42 kelson42 requested a review from adamlamar January 4, 2025 13:29
@kelson42 kelson42 merged commit 68a579b into main Jan 5, 2025
11 checks passed
@kelson42 kelson42 deleted the qt6-qt5-jammy-base-ci-image branch January 5, 2025 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants