Registered Member
|
Hi
Im trying to make a google talk plasmoid... Im using the QXmpp library to easily connect to google.. https://code.google.com/p/qxmpp/ And here is my project: http://gtalkplasmoid.svn.sourceforge.net/viewvc/gtalkplasmoid/GoTalk/ I successfully built the qxmpp as shared library (you have to change in the src.pro CONFIG line to CONFIG += static_and_shared) Problem is that while the examples of the qxmpp project works great..I could not manage to work in my project e.g the rosterHandling... I assume that my CMakeLists.txt is wrong(it s not correct as it is now I know)..I can compile , run it, but nothing happens only dns resolving...("looking up talk.google ..." see the QXmppClientLog.log) QXmpp project uses qmake...please use the current 0.3.0 version I posted on this forum because I hope that you can help me.... Akos |
Registered Member
|
Your Xmpp client is being destroyed when the GoTalk::init() method finishes. You need to keep it alive as a member variable (i.e. you need to define a (pointer) xmmpClient in the plasmoid class).
(to mods: do not delete please)
Last edited by dpalacio on Fri Sep 02, 2011 3:04 pm, edited 1 time in total.
connect(post, SIGNAL(readSignature()), qapp, SLOT(quit()));
|
Registered Member
|
awkward...I was copy/paste***...not thinking xd Thank you, please mods delete this whole post/thread |
Administrator
|
We normally don't delete posts unless they're spam or a grave violation of our . Marking the topic as solved (as you've done) should be enough.
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]