hello, <br> that's my mistake, i fixed this by add "Tp::registerTypes()" in my main() function. but i still can't got any interface when connection is connected. i just got empty string array by "conn->interfaces()". Could somebody give some suggestion for this problem? thanks in advance.<br>
<br>Br<br>Tom<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 9:54 PM, chen zheng <span dir="ltr"><<a href="mailto:funpig@gmail.com">funpig@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, <br><br> in my test app that use telepathy-qt4, if i used "conn->requestConnect(Tp::Connection::FeatureSelfContact)", i will got following error:<br>QDBusMarshaller: <span style="color: rgb(255, 0, 0);">type `Tp::UIntList' (274) is not registered with D-BUS</span>. Use qDBusRegisterMetaType to register it QDBusConnection: error: could not send message to service ":1.91" path "/org/freedesktop/Telepathy/Connection/sofiasip/sip/_312345_40192_2e168_2e1_2e103" interface "org.freedesktop.Telepathy.Connection" member "HoldHandles". <br>
<br> but if i used "conn->requestConnect(Tp::Connection::FeatureCore)", none error, but i can't got any interface with GetInterface(). i check the source code of telepathy-qt4, that type "Tp::UIntList" is register by registerType() in Types-body.hpp. at init() in connection.cpp, the regiterType() is invoked. Dose something i missed? Could somebody give me some advice?<br>
<br>Br<br>Tom<br>
</blockquote></div><br>