Re: FreeBSD build problem

2008-07-06 Thread David Johnson
On Sunday 06 July 2008 07:45:46 pm Thiago Macieira wrote: > David Johnson wrote: > >target_link_libraries(kfind  ${KDE4_KDE3SUPPORT_LIBS} ) > > > >This results in the the following library > >locations: -L/usr/local/lib/qt4 -L/usr/local/lib -L/usr/local/kde4/lib > > > >However, changing that line t

Re: FreeBSD build problem

2008-07-06 Thread Thiago Macieira
David Johnson wrote: >target_link_libraries(kfind  ${KDE4_KDE3SUPPORT_LIBS} ) > >This results in the the following library >locations: -L/usr/local/lib/qt4 -L/usr/local/lib -L/usr/local/kde4/lib > >However, changing that line to add a dependency: > >target_link_libraries(kfind ${KDE4_KDEUI_LIBS}  $

Qt4 shouldn't require X11, even on Unix

2008-07-06 Thread Thiago Macieira
This section of FindQt4.cmake seems bogus to me: IF(UNIX) # on OS X X11 may not be required IF (Q_WS_X11) FIND_PACKAGE(X11 REQUIRED) ENDIF (Q_WS_X11) It's not necessary to have X11 headers in order to compile Qt4 applications or KDE 4 ones. There are no X11 headers included i

FreeBSD build problem

2008-07-06 Thread David Johnson
I am having some problems building kde 4.0.83. A few executables are linking with the KDE3 libraries. So far these are kdialog, kfind and kmenuedit. I have only built up to kdebase/kdebase-workspace so far. Currently in FreeBSD, KDE3 is installed to /usr/local. We have given Qt4 and KDE4 their

Re: Reducing excess linkage - cmake 2.6 IMPORTED targets and LINK_INTERFACE_LIBRARIES for kdelibs

2008-07-06 Thread Alexander Neundorf
On Tuesday 01 July 2008, Dirk Mueller wrote: > On Friday 27 June 2008, Alexander Neundorf wrote: > > > +macro (KDE4_TARGET_LINK_INTERFACE_LIBRARIES _target _interface_libs) > > > + if(KDE4_ENABLE_EXPERIMENTAL_LIB_EXPORT AND UNIX )# AND NOT APPLE) > > > + set_target_properties("${_target}"

Re: FindBoost.cmake

2008-07-06 Thread Andreas Pakulat
On 04.07.08 14:40:51, Marcus Hufgard (Kalkwerk Hufgard GmbH) wrote: > Hi! > > Why do we have 2 version of FindBoost.cmake. > > One in kdelibs and one in kdevplatform. Shouldn't we have only one > version of it in kdelibs? > > I would prever the version of kdevplatform. > > I want to change this

Re: Problem with cmake 2.4.x and FindQt4 from kdelibs

2008-07-06 Thread Alexander Neundorf
On Thursday 03 July 2008, Tobias Hunger wrote: > Hello there! > > I am trying to build a Qt-only D-Bus application using the FindQt4.cmake > package found in kdelibs/cmake/modules. That documents a QT_USE_QTDBUS This means you copied FindQt4.cmake from kdelibs into your project ? > variable that