FindQt4.cmake

Peter Kümmel syntheticpp at gmx.net
Wed Feb 1 23:10:41 CET 2006


Alexander Neundorf wrote:
> On Wednesday 01 February 2006 22:25, you wrote:
>> Alexander Neundorf wrote:
>>> I just committed two modified FindQt4.cmake and FindKDE4.cmake.
>>>
>>> FindQt4 now at first looks for include/QtCore/QtGlobal and after that
>>> optionally for include/Qt/QtGlobal
>>>
>>> Does this work for you on Windows and on OS X with Qt as a framework
>>> better ?
>>>
>>> Bye
>>> Alex
>> Do you really want KDE4_KDEWIN32_LIBRARY and KDE4_WIN32_LIBRARY in FindKDE4
>> ? cmake allways stops there. I think the qt dectecting now works better.
>> Peter
> 
> I suggest you delete at least your kdelibs/win/, kdelibs/dcop/ and 
> kdelibs/cmake/ (or even better complete kdelibs/) and get a fresh copy from 
> svn, the merging seems to mess things up.
> For the rest see my other mail (coming soon).
> 
> Bye
> Alex

Next attempt, FindKDE4.cmake:

line 157 ff:

IF(MSVC)
   FIND_LIBRARY( KDE4_KDEWIN32_LIBRARY NAMES kdewin32 )
   IF ( NOT KDE4_WIN32_LIBRARY )
      MESSAGE( FATAL_ERROR "Could not find kdewin32 library, make sure to build and install kdelibs/win/ first" )
   ENDIF ( NOT KDE4_WIN32_LIBRARY )


KDE4_KDEWIN32_LIBRARY  is defined when there is a kdewin32.lib, but you throw an error when
KDE4_WIN32_LIBRARY is not set, I still think this is a mistake.

Peter



More information about the Kde-buildsystem mailing list