Hooking the QT Main Loop

Thiago Macieira thiago at kde.org
Mon Apr 16 13:33:05 PDT 2007


David Zeuthen wrote:
>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)

You don't. QtDBus doesn't handle third-party connections. It only handles 
its own.

If you're a library using D-Bus and you want to work with Qt, you must use 
QDBusConnection and not DBusConnection.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20070416/a35b4f12/attachment.pgp


More information about the dbus mailing list