Building Qt 5 on OS X with DBus

Jeremy Whiting jpwhiting at
Tue Jan 6 14:42:37 PST 2015

Heh, the header files are under /opt/local/lib, yeah, that makes sense...
Thanks, I'll try with those.

On Tue, Jan 6, 2015 at 3:38 PM, Brandon Allbery <allbery.b at> wrote:

> On Tue, Jan 6, 2015 at 5:16 PM, Jeremy Whiting <jpwhiting at> 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
> ballbery at
> unix, openafs, kerberos, infrastructure, xmonad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-dev mailing list