Questions tagged [qxmpp]

QXmpp is a cross-platform XMPP client and server library that uses the QT Framework

QXmpp is a cross-platform XMPP client and server library, written in C++.

It uses Qt extensively, and as such users need to a have working knowledge of C++ and Qt basics (Signals and Slots and Qt data types).

15 questions
3
votes
1 answer

Library for developing XMPP server in C++ or Delphi

I have to develop a simple XMPP server that will be included in a commercial project. I guess there isn't any server available that can be purchased with a royalty-free-license and that enables me to do the configuration and user management and the…
Chris
  • 1,508
  • 1
  • 11
  • 30
1
vote
1 answer

QXmpp creating a MUC room (xep--0045) on the server

I am trying to add MUC capabilities to my application with QXmpp, I am following this info in the QXmppMucManager.h header file /// \brief The QXmppMucManager class makes it possible to interact with /// multi-user chat rooms as defined by XEP-0045:…
musimbate
  • 347
  • 6
  • 25
1
vote
1 answer

Application based on qxmpp can't connect to server on Android, but working well on windows

I'm using qxmpp library in my project. I've tried to write simple app to find out if it connects to server. It connects on Windows well. Then I've tried to test it on Android, but it doesn't connect and I don't know why because it shows no…
Rancbar
  • 184
  • 12
1
vote
1 answer

openfire connect clients other than spark

I have openfire installed on my windows 7 and I am able to add users in the web admin interface .I am also able to connect clients using spark (locally on localhost).When I try to connect with other clients the connection fails .I have tried Psi…
musimbate
  • 347
  • 6
  • 25
1
vote
2 answers

Possible to get QDomElement from QXmlStreamWriter?

I'm writing a small XMPP server using qxmpp. Now I want to create a QXmppStanza and present it (as if a client had sent it) to the server and my plugins using void QXmppServer::handleElement(const QDomElement &element) This function requires a…
Chris
  • 1,508
  • 1
  • 11
  • 30
1
vote
0 answers

qxmpp (server): Route message to specific resource

I'm writing a small xmpp server using the qxmpp library. Now I want to do the routing of messages myself: If I understand the server's implementation correct, the server forwards a message with a bare JID (contact@myxmpp) in the 'to' attribute to…
Chris
  • 1,508
  • 1
  • 11
  • 30
1
vote
1 answer

Database connection in Singletone

I've a multi-user supporting server which is based on qxmpp library written in Qt and exdended by inheriting QXmppServerExtension. So, my question is: Considering multi-user support in my server, whether it's safe or not to use a Singletone class…
elgolondrino
  • 665
  • 9
  • 33
0
votes
0 answers

QXmpp - How to check if a QXmppMessage has the delay element attached?

I am trying to determine if an incoming message is a delayed offline message. I've read that QXmpp supports XEP - 0203 Delayed Delivery, and I have gone through the QXmpp documentation, but I can't seem to find a way to check if a QXmppMessage has…
0
votes
0 answers

Can't retrieve XMPP messages by MAM after a specified id

I'm writing an xmpp messenger. By my design it stores local message history. When the user comes online and opens the dialog with someone my program requests archive (XEP-313) from the last locally stored message to the last message the server…
Blue
  • 355
  • 1
  • 9
0
votes
1 answer

QXMPP extensions not calling

I'm making one xmpp client and I have a lot doubts in extensions .. I did need get a list of old messages with one user, so .. I'm using the QXmppArchiveManager class for that. So I make one class like that: ... class QXmppArchiveManager; class…
f4root
  • 475
  • 1
  • 4
  • 15
0
votes
1 answer

qxmpp - getting list of all accounts being registered on openfire server

Is there any way to get list of users/account registered on server? Now I'm getting roster, but I would like to get not only roster but also every user jid registered to server. - openfire server - Qt - qxmpp library
never_ever
  • 185
  • 1
  • 4
  • 13
0
votes
1 answer

Qt 5.2 unexpected external symbol

I made project on linux with qt 4.7 and qxmpp 0.7.6, all works good I installed Qt 5.2 on windows, compiled qxmpp and installed it, it has finished successfully and is in C:\Qt\Qt5.2.0\5.2.0\msvc2010\include\qxmpp dir, seems all went good I copied…
Ruli
  • 2,592
  • 12
  • 30
  • 40
0
votes
0 answers

Undefined reference to extern variables

I'm using qxmpp library while extending it. I've faced problem when I using extern char* variable from that library. There is a QXmppConstants.h that contains namespaces. I've included qxmpp library it works fine. But when I compiled my project in…
elgolondrino
  • 665
  • 9
  • 33
0
votes
0 answers

What is the purpose of 'QSetpresenceSubsciptions(QString JID)' method in QXmpp?

I'm using QXmpp 0.7.6 library in order to implement server app. The library is itself a perfect paradigm. There is a QXmppServer that servers every QXmppIncomingClient and stores them in private QSet when client succeeds authentification on top of…
elgolondrino
  • 665
  • 9
  • 33
-1
votes
2 answers

Error when compiling QXmpp library on Qt 5.4

I try since this morning to compile a XMPP library for QT calles qxmpp. I try to use Qt Creator and do a Build All, but the compiler can't find a thing called -lqxmpp0 and I don't know what it is. Google wasn't helpful unfortunately. My Qt…
DarkInFire
  • 31
  • 1
  • 5