[CMake] FindQt4.cmake, which one ?

Alexander Neundorf a.neundorf-work at gmx.net
Thu Oct 5 08:58:20 EDT 2006


Von: "William A. Hoffman" <billlist at nycap.rr.com>

> At 06:58 AM 10/5/2006, frederic heem wrote:
> >Hi,
> >After upgrading from cmake 2.4.3 to cmake in cvs, cmake aborts because
> the 
> >macro  QT4_ADD_DBUS_INTERFACE. Indeed, FindQt4.cmake was downloaded from
> the 
> >kde project and the FindQt4.cmake from cvs does not contain this macro. 
> >Basically, all FindQt4.cmake are different and incompatible. 
> >At the moment, to ensure one application will compile across different 
> >distributions and with different cmake, this only choice is to copy all 
> >necessary FindXXX.cmake to one application directory and set the variable
> >CMAKE_MODULE_PATH  to this directory, for instance.
> >SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
> >Is there any other (better) solution for this problem ?
> >Frederic
> 
> QT4_ADD_DBUS_INTERFACE was not part of 2.4.3 FindQt4.cmake so it did
> not get removed in cvs.  You must have been using the FindQt4.cmake that
> is part of kde.
> Perhaps Alex can work on merging the kde FindQt4 with the cvs
> cmake FindQt4.

Yes, I'd like to merge them again, but I'm not quite sure how to do it currently. I'm not sure we want the last change to FindQt4.cmake for KDE. But I'll port at least the macros to cmake cvs (but probably not this week).

Bye
Alex

-- 
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl


More information about the CMake mailing list