Building Qt 5 on OS X with DBus

Brandon Allbery allbery.b at gmail.com
Tue Jan 6 14:38:28 PST 2015


On Tue, Jan 6, 2015 at 5:16 PM, Jeremy Whiting <jpwhiting at kde.org> wrote:

> When I try to build Qt 5.4 with -dbus-linked using dbus from macports it
> seems I have to specify -I/opt/local/include/dbus-1.0 but it still can't
> configure because dbus's /opt/local/include/dbus-1.0/dbus/dbus.h includes
> <dbus/dbus-arch-deps.h> which isn't installed by the dbus macport somehow.
> I guess this is a bug in the dbus port? What can I do to fix that so I can
> build qt?
>

pyanfar:3285 Z$ port contents dbus | grep arch
  /opt/local/lib/dbus-1.0/include/dbus/dbus-arch-deps.h

Looks like you want -I/opt/local/include/dbus-1.0/include, and I have no
idea what dbus.h you are otherwise getting --- and suggest you find out,
lest it interfere in other ways, possibly leading to shared library
conflicts or even core dumps.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150106/fcde63b8/attachment.html>


More information about the macports-dev mailing list