cmake issue: includes

Adriaan de Groot groot at
Thu Mar 30 14:53:54 BST 2006

On Thursday 30 March 2006 15:39, David Faure wrote:
> Because it needs to be before any kdelibs-local includes, as you pointed
> out at the beginning of this mail. So I can't just put QT_INCLUDES in the
> toplevel CMakeLists.txt, unless we use "include_directories( BEFORE ... )"
> everywhere, which people will surely forget to do.

Oh, there's a BEFORE variant? Useful -- especially in kdecore, where you must 
pick up KDE's hacked libltdl before any other libltdl that might be installed 

> > Anyway, the reason this is a problem for me is that I have Qt3 installed
> > on my system. This is widely regarded as a bad thing. In particular, Qt3
> > installs includes in /usr/X11R6/include -- this is standard on FreeBSD
> > systems. So now my KDE4 DCOP compiles, which get includes in the order
> > KDE - X11 - Qt pull in Qt3 headers instead of Qt4. The attached patch
> > shuffles things around a little bit: it puts the X11 headers at the end.
> > Is that sensible?
> Yes, it looks fine to me, please commit.

Will do.

Adriaan de Groot
  KDE Quality Team

More information about the kde-core-devel mailing list