[patch] fixes for compiling under mingw

Alexander Neundorf neundorf at kde.org
Wed Jun 6 23:53:00 CEST 2007


On Wednesday 06 June 2007 10:32, Holger Schröder wrote:
> Hi Alex, hi list,
>
> i am trying to simplify compiling of kde on windows. for that i need to get
> some changed into kdelibs/cmake/modules.
>
> most of them add a cmake variable for the prefix where to find a library,
> like gif, jpeg, etc.
>
> and then there is a patch for findqt4.cmake.
>
> the problem is, that the debug libs of qt 4 are nor found under windows,
> because they are named Q<Foo>d4 for the debug libraries.
>
> so for every Q<foo>4 in a find_library statement i added an Q<foo>d4 entry.

Qt: ok
Since which Qt release is this so ?

For the other cmake modules: where do these variables come from ? 
STRIGI_INSTALL_PREFIX 
SHARED_MIMEINFO_INSTALL_PREFIX
WIN32LIBS_INSTALL_PREFIX
KDEWIN32_INSTALL_PREFIX


If they have to be set manually this isn't a very good idea.
How about setting CMAKE_PROGRAM/INCLUDE/LIBRARY_PATH ?

Or reusing some variable which is set by FindKDEWin32Libs.cmake or something 
like this ?

Alex



More information about the Kde-buildsystem mailing list