[Qt-interest] Compiling QT 4.6 + DBus on OSX
Pablo Martí Gamboa
pmarti at warp.es
Tue May 11 19:21:23 CEST 2010
On 11 May 2010 17:21, Nikos Chantziaras <realnc at arcor.de> wrote:
> On 05/11/2010 05:30 PM, Pablo Martí Gamboa wrote:
> >
> >
> > 2010/5/11 Pablo Martí Gamboa <pmarti at warp.es <mailto:pmarti at warp.es>>
> >
> > Hi,
> >
> > this is my first message to the list, hi everyone.
> >
> > I have compiled DBus and QT on manually and I'm having problems to
> > run some of the DBus examples on OSX. (see attached build.sh for
> > full script)
> >
> > I execute "eval `dbus-launch --auto-syntax`" I start the listnames
> > example as:
> >
> > [pablo at MacBook] /opt/wader-x86_64/examples/dbus/listnames%
> > QDBUS_DEBUG=1 ./listnames.app/Contents/MacOS/listnames
> > Cannot connect to the D-Bus session bus.
> > To start it, run:
> > eval `dbus-launch --auto-syntax`
> >
> > But I get no debug trace/clues whatsoever. Any hints would be very
> > welcome!
> >
> >
> > After recompiling QT with -dbus-linked the example is working!
> >
> > Is there any guide/advice for bundling DBus in a QT .app on OSX ?
>
> Doesn't the macdeployqt tool take care of it?
>
Hi Nikos,
it kinda does, but you still need to fix the uuid (machine-id) problem,
copy the relevant dbus binaries, and start the dbus session, and this were
I'm stuck at the moment. There are probably more steps (like config) that
will need to be fixed.
Any macdeployqt developers reading? Care to share some advice for packaging
a DBus app?
_______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
--
Pablo Martí
http://minimoesfuerzo.org
python -c "print '706d617267616d40676d61696c2e636f6d'.decode('hex')"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100511/a263b40a/attachment.html
More information about the Qt-interest-old
mailing list