Skip to content

feat(desktop/appimage): use KDE Craft and their binary cache to get Qt - #877

Merged
mgallien merged 10 commits into
masterfrom
desktop/AppImageBuiltWithKdeCraft
Jan 13, 2026
Merged

feat(desktop/appimage): use KDE Craft and their binary cache to get Qt#877
mgallien merged 10 commits into
masterfrom
desktop/AppImageBuiltWithKdeCraft

Conversation

@mgallien

@mgallien mgallien commented Jan 7, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@mgallien
mgallien requested a review from nilsding January 7, 2026 08:33
@mgallien
mgallien force-pushed the desktop/AppImageBuiltWithKdeCraft branch 2 times, most recently from eacf2b9 to 92d5067 Compare January 8, 2026 08:44
Comment thread client-appimage-qt6/Dockerfile.el8
@mgallien
mgallien marked this pull request as draft January 8, 2026 09:46
@mgallien

mgallien commented Jan 8, 2026

Copy link
Copy Markdown
Collaborator Author

we also need a way to build the cache itself to be uploaded on our download server
so more work needed

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
ensure proper search path for pkgconf by setting PKG_CONFIG_PATH env
variable before calls to craft

will enable the build to find libraries provided by the host system

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien
mgallien force-pushed the desktop/AppImageBuiltWithKdeCraft branch from f37cc0b to 24982c2 Compare January 12, 2026 09:38
partilally rely on KDE binary cache for Craft

enforce using Qt 6.9.3 for our stable branch

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien
mgallien force-pushed the desktop/AppImageBuiltWithKdeCraft branch 2 times, most recently from 0133664 to 662725e Compare January 12, 2026 22:18
@mgallien
mgallien marked this pull request as ready for review January 12, 2026 22:19
Comment thread client-appimage-qt6/craftmaster.ini
@mgallien
mgallien force-pushed the desktop/AppImageBuiltWithKdeCraft branch from b93e619 to 7ede9aa Compare January 13, 2026 09:20
we have one image to build all dependencies: manual steps needed to get
them into an archive

one image to build the client with dependencies already there as
binaries

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
switch to using Debian forky to get newer dependencies

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien
mgallien force-pushed the desktop/AppImageBuiltWithKdeCraft branch from 7ede9aa to 8f756b7 Compare January 13, 2026 10:24
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
@mgallien
mgallien force-pushed the desktop/AppImageBuiltWithKdeCraft branch from 8b9217b to 5a3a1ac Compare January 13, 2026 11:23
Comment on lines +70 to +74
RUN \
wget https://download.nextcloud.com/desktop/development/qt/${CRAFT_IMAGE} && \
tar xf ${CRAFT_IMAGE} && \
rm ${CRAFT_IMAGE} \
;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would it be possible to use the image from the Dockerfile.build.el8 as the base of this container? that way we wouldn't need to manually create/download+unpack an archive of the Craft installation, and we could also skip setting up the blueprint repositories here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

we currently manually build Qt6 modules while building the first image
this is taking a lot of storage space and build time
I think the current limit when building an image would be exceeded
that is the main reason to keep a manual build step on some developer machine before using the actions to publish the final image

@mgallien
mgallien merged commit f7b56e8 into master Jan 13, 2026
5 checks passed
@mgallien
mgallien deleted the desktop/AppImageBuiltWithKdeCraft branch January 13, 2026 14:17
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