Version: unspecified (using Devel) OS: MS Windows Akonadi has no default Paths when looking for configuration files on Windows Systems. The XDG Variables have to be set manually which should not be the case. By default Akonadi should use the directory it is placed and look into ../share ../share/config/akonadi and so on for the system configuration files and in its current directory for virtuoso/mysql. The XDG Variables should allow to overwrite that behavior but not be always needed. Reproducible: Didn't try
This is important because it hinders the creation of a usable akonadi package for the KDE-Windows installer.
It should do this already, could you please post the content of akonadi-prefix.h which is generated in the top-level build directory?
Created attachment 48281 [details] Generated header for path defines using prefix C:\KDE\trunk as KDE root for emerge
Akonadi does use the values it gets at build time, which is not very useful for packaging. And devlivering precompiled binaries. On my system for example it is: #define AKONADIPREFIX "R:/" #define AKONADIDATA "share" #define AKONADICONFIG "share/config" // the below is hardcoded to what FindKDE4Internal.cmake sets it to, since we have no way of finding that #define AKONADIBUNDLEPATH "/Applications/KDE4"
This was fixed long ago Akonadi now can run without environment variables to be set in the default Path layout on Windows.