FindQt4.cmake

Peter Kümmel syntheticpp at gmx.net
Wed Feb 1 22:51:57 CET 2006


Alexander Neundorf wrote:
> On Wednesday 01 February 2006 22:45, Peter Kümmel wrote:
>> Alexander Neundorf wrote:
>>> Does this work for you on Windows and on OS X with Qt as a framework
>>> better ?
>>>
>>> Bye
>>> Alex
>> No, here is no QtGlobal in Qt, but qglobal.h. When I search for qglobal.h
>> cmake has no problem.
>> I think there should also be a qglobal.h on linux and osx.
>>
>> Peter
>>
>>  # Set QT_QT_INCLUDE_DIR
>>  FIND_PATH( QT_QT_INCLUDE_DIR qglobal.h
> 
> Your sources are *way* too old, you should consider updating ;-)
> 
> Alex

the code was the suggestion.

currently it looks like this (at least before 30 seconds):

  # Set QT_QT_INCLUDE_DIR
  FIND_PATH( QT_QT_INCLUDE_DIR QtGlobal
    ${QT_INCLUDE_DIR}/Qt
    ${QT_LIBRARY_DIR}/QtCore.framework/Headers
    )

Peter


More information about the Kde-buildsystem mailing list