KPhotoAlbum on Windows?

Tobias Leupold tl at stonemx.de
Sat Dec 21 10:46:05 GMT 2024


E-Mail von Teemu vom Samstag, 21. Dezember 2024, 11:41:20 MEZ:
> On 2024-12-16 01:30, Johannes Zarl-Zierl wrote:
> >> Include <dirent.h> not available on Windows.
> >> Managed to compile this by adding a replacement include from here:
> >> https://github.com/tronkko/dirent
> > 
> > Quite possibly this could be solved by using MinGW on Windows. AFAIK 
> > MinGW
> > also support all of the other POSIX headers that you encountered.
> 
> 
> Did a re-install of KDE-craft and tested the build-process now with 
> MinGW. A _much_ nicer experience (as advertised)!
> 
> Of course, needed to remove kipi-plugins from the craft blueprint first 
> and manually install exiv2 and phonon packages (could have added 
> dependencies in the blueprint as well, of course).
> Otherwise, the only area that needed fixing was FileUtil.cpp, commenting 
> out link/symlink-function calls, as those are not supported.
> Otherwise everything went smoothly - no need to change anything in 
> CMakeLlists, no linking errors, nothing.
> 
> So not far from being able to enable that Craft Appimage CI build job.
> Maybe some "#ifdef(WIN32)" -magic in FileUtil.cpp, and removing the 
> symlink/hardlink -options in the Export dialog in the Windows build?

Nice to hear this :-)

I'd say fork KPA, add the needed changes and create a PR -- let's see if we 
can eventually integrate this!

> Teemu





More information about the KPhotoAlbum mailing list