Hooking the QT Main Loop

Thiago Macieira thiago at kde.org
Mon Apr 16 12:23:46 PDT 2007


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.

-- 
  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/daf3a631/attachment.pgp


More information about the dbus mailing list