Hooking the QT Main Loop
David Zeuthen
david at fubar.dk
Mon Apr 16 12:48:15 PDT 2007
On Mon, 2007-04-16 at 21:23 +0200, Thiago Macieira wrote:
> Doug Goldstein wrote:
> >AFAIK, the QT3 bindings are unmaintained. QT3 itself is no longer
> >maintained by Trolltech as of July 1st of this year. Trolltech maintains
> >the QT4 bindings in QT itself, as of QT 4.2 and within that it contains
> >direct integration with the glib main loop. You might have much better
> >success working with QT4.
>
> To complement:
>
> The QtDBus binding (released with Qt 4.2) has no
> symbol "dbus_connection_setup_qt_main". It has a somewhat private
> function called qDBusBindToApplication, that you shouldn't use. That
> function is now empty in Qt 4.3.
>
> In order to make QtDBus bind itself, just create a QDBusConnection object
> (like QDBusConnection::sessionBus()). You will probably want to use that
> object, or it makes no sense to do so.
How does this work if I'm a library and I ask the application to
integrate one of my DBusConnection objects into the applications main
loop? (it might be a private connection)
David
More information about the dbus
mailing list