KDE4 Cross compiling error

Ben Boeckel mathstuf at gmail.com
Mon Dec 29 20:01:30 CET 2008


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:432 
(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?

--Ben



More information about the Kde-buildsystem mailing list