[maemo-developers] osso, muali , dbus and Qt closeEvent()s
From: Santtu Lakkala inz at inz.fiDate: Wed Mar 25 21:12:18 EET 2009
- Previous message: osso, muali , dbus and Qt closeEvent()s
- Next message: osso, muali , dbus and Qt closeEvent()s
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Greaves wrote: > I meant gtk apps need to use osso-initialize() or they just don't work. > Since libosso uses glib, I expect that's not really right for Qt apps. > > In particular I think osso-init.c calls glib setups that seem to hook into the > glib context and I think the glib main loop - not used in Qt apps. > > eg line 503 in osso-init.c calls dbus_connection_setup_with_g_main() > which: > "Sets the watch and timeout functions of a DBusConnection to integrate the > connection with the GLib main loop. " > see: > http://dbus.freedesktop.org/doc/api/html/group__DBusGLib.html#ga754eed235cc2b8153bd8f824b687d9e > > > so libosso, as it stands, isn't suitable for Qt apps .... unless I'm confused :) Actually Qt has supported GLib context stuff since 4.2 (IIRC), so libosso is suitable. That doesn't say that it's practical or nice, but it should work. - -- Santtu -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknKghEACgkQX9Rc0+po4p3zUQCgmZLaGy3jTDm3YuCbkuh7OZE4 2J4An3avfLa5Elu8eo94IbW1srViA8aw =ozXP -----END PGP SIGNATURE-----
- Previous message: osso, muali , dbus and Qt closeEvent()s
- Next message: osso, muali , dbus and Qt closeEvent()s
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]