cmake/dbus/QtDBUS integration

Paulo Moura Guedes moura at kdewebdev.org
Tue Jun 6 00:37:40 BST 2006


On Tuesday 06 June 2006 00:21, Thiago Macieira wrote:
> Paulo Moura Guedes wrote:
> >On Monday 05 June 2006 22:07, Thiago Macieira wrote:
> >> One last thing: FindQtDBus.cmake finds QtDBus using pkg-config and
> >> QtDBus depends on Qt, which means Qt must be found using pkg-config
> >> too.
> >>
> >> Can we now make FindQt4.cmake find Qt using pkg-config to avoid this
> >> problem? At least as the default, leaving the current PATH/qmake test
> >> as a fallback mechanism.
> >
> >Why don't make FindQt4.cmake not depend on pkg-config, if every
> > Find*.cmake on kdelibs doesn't?
>
> The problem is dbus and QtDBus: 

Ups, I meant FindQtDBus.

> they mandate the use of pkg-config for Qt 
> too. 

How do you mean by mandate? I guess they could be changed right?

> So, right now, you must configure BOTH ways of finding Qt and they 
> must point to the same Qt, or you'll have problems.

Yeah, one way or the other they should have the same way of finding Qt.

> So, please, use pkg-config as the default.

I'm sure you have good reasons to use pkg-config, don't take me wrong ;)

Paulo




More information about the kde-core-devel mailing list