finding top-level dirs on windows

Ralf Habacker ralf.habacker at freenet.de
Sun Mar 9 16:13:11 CET 2008


Christian Ehrlicher schrieb:
> Frank Osterfeld schrieb:
>> Hi,
>>
>> both Windbus and kdelibs find their installation directory by using 
>> the path to their binary (dbus-daemon.exe and libkdecore.dll 
>> respectively) and deduce the top-level installation directory from 
>> there. Both work with the assumption that the binaries are located in 
>> %INSTALLDIR%\bin.
>> In Gpg4win, we want to get rid of bin\ completely, as all other .exe 
>> and .dll  files are already installed directly to %INSTALLDIR%. These 
>> two exceptions require several workarounds so all binaries and other 
>> resources are found correctly.
It is simple to add a check to getKde4Prefix()  to set the install 
directory to the directory in where kdecore.dll is located, when kdecore 
is not located in a bin dir.  The same belongs to windbus.

The more important question is if this path layout change will affect 
the whole kde4 distribution on windows because *all* binary package uses 
the bin subdirectory for binaries and executables.

If gpg4win will be a requirement for kde on windows applications this 
will let into trouble.

Ralf




More information about the Kde-windows mailing list