cmake/dbus/QtDBUS integration

Thiago Macieira thiago at kde.org
Tue Jun 6 18:05:36 BST 2006


Leo Savernik wrote:
>Am Dienstag, 6. Juni 2006 15:28 schrieb Thiago Macieira:
>> Leo Savernik wrote:
>> >Am Dienstag, 6. Juni 2006 02:02 schrieb Thiago Macieira:
>> >> Since QtDBus depends on D-BUS and is part of their package, it uses
>> >> pkg-config too. And since QtDBus uses Qt, Qt is found using
>> >> pkg-config.
>> >
>> >So what? If QtDBus works with Qt 4.x it can't be a problem to use
>> > some Qt 4.x+n found by other means than pkg-config where n >= 0.
>>
>> That's not the issue.
>>
>> The issue is that pkg-config has to find QtCore before it says QtDBus
>> is present.
>
>It only has to find *some* QtCore which needn't necessarily to be the
> one used for building kde4, so there's still no necessity to demand
> finding Qt by pkg-config.

It has to find one QtCore and QtXml >= 4.1.3. Finding the one that KDE 
will use would just be nice.

However, finding Qt via pkg-config is necessary: it's an *indirect* 
dependency:

$ PKG_CONFIG_PATH=/home/tjmaciei/local/dbus/lib/pkgconfig 
pkg-config --cflags dbus-qt4-1
Package QtCore_debug was not found in the pkg-config search path.
Perhaps you should add the directory containing `QtCore_debug.pc'
to the PKG_CONFIG_PATH environment variable
Package 'QtCore_debug', required by 'dbus-qt4-1', not found

-- 
Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
  thiago.macieira (AT) trolltech.com     Trolltech AS
    GPG: 0x6EF45358                   |  Sandakerveien 116,
    E067 918B B660 DBD1 105C          |  NO-0402
    966C 33F5 F005 6EF4 5358          |  Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060606/67db20c9/attachment.sig>


More information about the kde-core-devel mailing list