aerkis
27th March 2014, 13:16
Hi all,
I am currently trying to implement a process using QtDBus. I successfully register a service and object on dbus. But then when I use QDBusInterface, dbus seems to be blocked on Introspect message as shown by dbus-monitor traces:
method call sender=:1.363 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "my.test.test"
method call sender=:1.363 -> dest=my.test.test serial=4 path=/; interface=org.freedesktop.DBus.Introspectable; member=Introspect
It seems to be a regular problem with QtDbus as shown by following posts:
http://www.qtcentre.org/threads/36996-QDBusInterface-blocking-dbus
https://bugreports.qt-project.org/browse/QTBUG-14485
I have tried to use QDbusConnection::asyncCall() to remove DBusInterface. In this use case, the message is correctly sent on DBus but it is never received.
In conclusion, I was not able to find a correct solution to my problem, so I hope someone here can help me find a way out, thanks.
I am currently trying to implement a process using QtDBus. I successfully register a service and object on dbus. But then when I use QDBusInterface, dbus seems to be blocked on Introspect message as shown by dbus-monitor traces:
method call sender=:1.363 -> dest=org.freedesktop.DBus serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "my.test.test"
method call sender=:1.363 -> dest=my.test.test serial=4 path=/; interface=org.freedesktop.DBus.Introspectable; member=Introspect
It seems to be a regular problem with QtDbus as shown by following posts:
http://www.qtcentre.org/threads/36996-QDBusInterface-blocking-dbus
https://bugreports.qt-project.org/browse/QTBUG-14485
I have tried to use QDbusConnection::asyncCall() to remove DBusInterface. In this use case, the message is correctly sent on DBus but it is never received.
In conclusion, I was not able to find a correct solution to my problem, so I hope someone here can help me find a way out, thanks.