KDE4 Cross compiling error

Alexander Neundorf neundorf at kde.org
Fri Jan 2 17:22:28 CET 2009


On Monday 29 December 2008, Ben Boeckel wrote:
> Hi,
>
> I am attempting to cross-compile my KDE4 application using mingw and I
> get the following error from FindKDE4Internal.cmake:
>
> CMake Error at
> /mnt/storage/kde4win/root/share/apps/cmake/modules/FindKDE4Internal.cmake:4
>32 (message):
>   Couldn't parse KDE version string from the kde4-config output:
>
>   sh: /mnt/storage/kde4win/root/bin/kde4-config.exe: cannot execute
> binary
>   file
>
> The problem is that kde4-config is used to get the version when it
> can't since it's being cross compiled. How should this be handled
> instead?

This one should be working now with current trunk. There was actually no need 
to run kde4-config, since we have the version information available from 
loading KDELibsDependencies.cmake.

Alex


More information about the Kde-buildsystem mailing list