Solved XMPP message help
-
Hi i want when i do file transfer to send one message but i get this error:
connect(manager,SIGNAL(fileReceived(const QXmppMessage&,QXmppTransferJob*)),this,SLOT(llegadaDatosArchivo(const QXmppMessage&,QXmppTransferJob*)));Other way to solve this.
-
Hi,
You're posting a line of code. What error are you getting ?
Also, you should consider using Qt 5 new connect syntax.
-
@SGaist QObject::connect: No such signal QXmppTransferManager::fileReceived(const QXmppMessage&,QXmppTransferJob*) in ..\cliente\mainwindow.cpp:105
QObject::connect: (receiver name: 'MainWindow') -
Please, at least take a look at the sources/doc of the classes you are using. The signal is
void fileReceived(QXmppTransferJob *job);
It's right here
-
@SGaist yes sorry i was trying one thing and show me one error and for this i changed.
i can't do this of course:
fileReceived(const QXmppMessage&,QXmppTransferJob*)have one question: for example if i want to send one message to check if my client is connected for example before to send something. It's posible or not?
-
QXmpp isn't part of our framework. If you need help using that library, ask the people who know about it, https://github.com/qxmpp-project. This forum is not the central help for every piece of software written with Qt.
-
@Wieland Ok sorry!
-
@RIVOPICO ;-)
-
@Wieland Yes i know but if i'm doing one chat on qt like whatsapp where i will ask here not? And if i asked about hooks i need to create virtual keyboard. And i think my bad english i have not explained well. thx in advance.
-
What @Wieland meant is that you are asking a lot of questions that are related to QXmpp and its use so you should rather contact the author of this library. The readme file points to that google group if you have any question related to the project.
-
Yes, wasn't meant to be rude. Only wanted to express that your chances of getting a proper answer on this topic from the people here are pretty low.
-
@Wieland Yes you are right i did bad to search changes of getting a proper answer sorry all.