[patch] dbus-0.21 doesn't like QT 2

Harri Porten porten at froglogic.com
Thu Apr 15 18:20:38 EST 2004


On Sat, 3 Apr 2004, Adrian Bunk wrote:

> dbus-qthread.cpp:25: qmutex.h: No such file or directory
> gmake[2]: *** [dbus-qthread.lo] Error 1
> gmake[2]: Leaving directory `/aux/adrian/build/dbus-0.21/qt'
>
> <--  snip  -->
>
> I'd suggest the patch below to let configure check for qmutex.h instead
> of qglobal.h.

QMutex is available in Qt 2, though. It's just in a different header file
(qthread.h). So I think the qglobal.h could stay as long as the inclusion
of qmutex.h is guarded by #if QT_VERSION < 300. Not sure if this suffices
as port to version 2, of course.

Harri.




More information about the dbus mailing list