KPhotoAlbum on Windows?

Johannes Zarl-Zierl johannes at zarl-zierl.at
Sun Dec 8 22:57:40 GMT 2024


Hi Teemu,

Am Sonntag, 8. Dezember 2024, 21:17:37 CET schrieb Teemu Hämäläinen:
> On 8.12.2024 16.31, Tobias Leupold wrote:
> >> If I remember correctly, years ago there also was some guidance on how
> >> to compile/run KPhotoAlbum on Windows, but I have searched those now
> >> without success.

If there ever was a guide on this, I don't know about it. I do remember, 
though, reading a bug report for the window platform. So it seems that at 
least one person has been successful at some point.


> >> Any pointers for this - how to compile, or information if there any
> >> clear showstoppers (libraries used that are not available on Win)?

> There was a blueprint available for KPhotoAlbum as well, and it got
> quite far with the dependencies. But the progress was unfortunately
> stopped with "libkipi".
> 
> First, it was trying to find libkipi from
> "download.kde.org/stable/release-service/24.08.3/", but it wasn't found
> there.

KIPI is no longer supported by kphotoalbum, so you can safely remove that 
dependency from your Craft recipe.

> Craft one needs to choose either Qt5 or Qt6 (based on my very limited
> understanding), so with KPa's latest being Qt6, it was incompatible. But
> a very promising start in just couple of hours, nonetheless.

If you decide to get working on Craft, I'd try getting it to work with Qt6, 
obviously. Build information is already available in different formats for the 
continuous integration pipelines and for the flatpak and snap builds. Maybe you 
can find some useful information there:

https://invent.kde.org/graphics/kphotoalbum/-/blob/master/.gitlab-ci.yml?
ref_type=heads
https://invent.kde.org/graphics/kphotoalbum/-/blob/master/.kde-ci.yml?
ref_type=heads
https://invent.kde.org/graphics/kphotoalbum/-/blob/master/.flatpak-manifest.json?ref_type=heads

https://invent.kde.org/graphics/kphotoalbum/-/blob/master/snapcraft.yaml?
ref_type=heads
I just realized that the snapcraft file needs updating for Qt6/KF6, so I'm only 
including it here for completeness' sake.

> I doubt that this Craft-related issue is specific to Windows., and as
> Craft is available also for Linux, I was wondering if it is possible to
> get KPhotoAlbum "officially" supported and available through Craft as well?

Getting official support for Craft based builds is a simple question of someone 
putting in the work. Once everything works, it is trivial to enable a CI job 
for it so that we at least know if anything breaks.

Speaking for KPhotoAlbum as the maintainer: the more effort you are willing to 
put into this, the more official we can make a Windows platform port:
If you're willing to stick around and fix the occasional Windows platform 
specific bug (which I can't troubleshoot because I don't have a development 
environment for Windows), then we can enable support for Craft on Windows.
But even if this is "just" a one-time contribution, we can at least enable the 
Craft Appimage CI job, which is Linux based.

Cheers,
  Johannes







More information about the KPhotoAlbum mailing list