KPhotoAlbum on Windows?

Teemu sikanauta at pumpuli.net
Sat Dec 21 10:41:20 GMT 2024


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?

Teemu




More information about the KPhotoAlbum mailing list