Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Not emitted signal (qxmpp)
I'm using qxmpp library (+Qt5) and I try to get rooms list from server and server sends this list but I can't get it.
I have sth like this:
QXmppDiscoveryManager *manager=new QXmppDiscoveryManager();
And then server sends the list:
RECEIVED <iq type="result" id="qxmpp9" from="conference.domain" to="user@domain/QXmpp"><query ><item jid="firstname.lastname@example.org" name="room2"/><item jid="email@example.com" name="room1"/></query></iq>
but I don't know why signal is not emitted (or my connecting mechanism works wrong)
moravas last edited by
first of all: could you publish the signature of the signal and the slot?
I suggest you to use the function pointer style syntax to connect the signals and slots each other. It was introduced by the Qt 5.
What do you understand by publishing signature? Signal itemsReceived has a signature:
const QXmppDiscoveryIq &
The same slot
Oh, and manager is pointer, I have already corrected it in my previous post
No one knows where the problem could be?