qxmpp-project / qxmpp Goto Github PK
View Code? Open in Web Editor NEWCross-platform C++ XMPP client and server library
Cross-platform C++ XMPP client and server library
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 error.
The app running correctly on Android, but it seems nothing is going on about XMPP protocol. No connection and logging. All I got in debug() just this one line that repeats 3 or 4 times:
D/libc-netbsd( 465): getaddrinfo: gmail.com get result from proxy >>
This is my first try:
lbl.setText("is not Connected");
client.connectToServer("[email protected]", "asdasd");
while(!(client.isConnected())){
a.processEvents();
}
lbl.setText("Connected");
it does connect but just on Windows. I've tried the GuiClient project, both of them seems not working.
I changed this line
DEFINES += QXMPP_LIBRARY_TYPE=staticlib
to
DEFINES += QXMPP_LIBRARY_TYPE=shared
and build libqxmpp.so but nothing again.
I wrote these lines in my application's .pro file for adding library to my project.
CONFIG(debug, debug|release) {
win32{
QXMPP_LIBRARY_NAME_INC = qxmpp_d0
} else {
QXMPP_LIBRARY_NAME_INC = qxmpp_d
}
}else{
win32{
QXMPP_LIBRARY_NAME_INC = qxmpp0
}else{
QXMPP_LIBRARY_NAME_INC = qxmpp
}
}
LIBS += -L./qxmpp/src -l$$QXMPP_LIBRARY_NAME_INC
I looked in the lib directory of my projects installed APK file and there was no libqxmpp.so flile or any related...
i modified the APK file and added the libqxmpp.so file myself and signing the app by step by step guide of this link and installed the modified APK file on phone, And Nothing again.
Thanks in advance.
When passing an QXmlStreamWriter to the function QXmppMessage::toXml(QXmlStreamWriter *) that was constructed with this constructor
QXmlStreamWriter::QXmlStreamWriter(QString * string)
and the message has xhtml content this line causes an A/V as xmlWriter->device() returns a nullptr.
xmlWriter->device()->write(d->xhtml.toUtf8());
I haven't seen a test case for toXml. Is it better to add a new testcase for toXml that or just add a call to toXml to the existing test case function testXhtml()?
it will be a problem when i need the user who send the message from groupchat
and QXmppMessage do the delayed delivery like below
// XEP-0203: Delayed Delivery
xmlWriter->writeStartElement("delay");
xmlWriter->writeAttribute("xmlns", ns_delayed_delivery);
helperToXmlAddAttribute(xmlWriter, "stamp", QXmppUtils::datetimeToString(utcStamp));
xmlWriter->writeEndElement();
this is XEP-203 would look like
in groupchat, the jid will be the groupJid not userJid, so there is problem when you not parse the delay tag's from attribute, if you agree with my opinion, i would make a pull request.
// example 3
<message
from='[email protected]/secondwitch'
to='[email protected]/laptop'
type='groupchat'>
<body>
By the pricking of my thumbs,
Something wicked this way comes.
Open, locks,
Whoever knocks!
</body>
<delay xmlns='urn:xmpp:delay'
from='[email protected]'
stamp='2002-09-10T23:05:37Z'/>
</message>
Hi. I've enjoyed QXmpp a lot. There's one thing that I haven't been able to do without modifying the library source code. I can't find a way to assign a specific port to QXmppIceComponent (QXmppIceComponent::reservePorts starts by default at 49152, first dynamic/private port). This makes sense if you don't want to have control of the ports you're binding your application for ICE/STUN, but is there a way to manually bind a specific port to add to the list of Jingle Candidates?
Thanks.
I use ejabberd as my XMPP server and have it set up to use blah.something.com for my connect server (advanced settings within the Pidgin client) and something.com as the domain. Not having a current way to do this, I ended up making some changes to be able to specify the connect server then it uses that for the connection if specified otherwise it uses the domain. Did I miss something looking through the code or are you interested me pushing (if that is allowed)?
Ok, I'm really sorry... This is just silly... No it works and I have no idea what was wrong... Very nice work btw :) love your lib (Y)
I want to cross compile the libvpx-v1.3.0,libtheora-1.1.1,speex!(mingw)
but it have some error!
how can I do?
my system is windows 7 x64
the IDE is qt4.7 mingw4.4 (win32)
https://qt-project.org/forums/viewthread/38184
I got this error too.
Hi,
It's a small request.
Thanks.
does qxmpp support build ios static lib?
i can build android armv7, macosx_clang
but when i build iphoneos_clang
i got compile error like
/qxmpp/src/base/QXmppStream.cpp:124: error: member access into incomplete type 'QSslSocket'
if (!d->socket || d->socket->state() != QAbstractSocket::ConnectedState)
^
...
../../../../Qt/5.3/ios/include/QtCore/qobject.h:198: candidate function not viable: cannot convert argument of incomplete type 'QSslSocket *' to 'const QObject *'
static QMetaObject::Connection connect(const QObject *sender, const char *signal,
^
I'm trying to connect to my localhost ejabberd server.
This is my code:
int main(int argc, char *argv[])
{
QCoreApplication app(argc, argv);
QXmppClient client;
client.logger()->setLoggingType(QXmppLogger::StdoutLogging);
// For jabber
// client.connectToServer("[email protected]", "passwd");
// For google talk
// client.connectToServer("[email protected]", "passwd");
client.connectToServer("teste@localhost", "teste");
return app.exec();
}
this is what I get in the terminal:
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
Mon Apr 6 14:33:51 2015 DEBUG Looking up server for domain localhost
Press to close this window...
It just gets stuck there.
Help? :(
Cant find other way to ask it, i tried many ways QT creator. it did build with 2 warnings. but no inlcude or lin directory as result. So i compile qxmpp now from console but windows 7 64 bit gives me the following error.
DEBUG 1: C:\work\build\qt5_workdir\w\s\qtbase\qmake\generators\makefile.cpp:376 Failure to find doc/html in vpath ()
There's no directory or whatever on that location. Its not clear what qxmpp trying to find.
Stuck on thisd error. This happens with 0.7.6 and 0.8.0
Some servers (like xmpp.yandex.ru, see original bugreport http://dev.leechcraft.org/issues/1865 (in russian)) don't send not-authorized
as a result of incorrect auth parameters, sending bad-auth
instead.
This should probably be handled on QXmpp side than on client library user side, emitting proper error condition, as QXmpp has more context information.
As far as I can see, it isn't possible to tell the QXmppServer to route a stanza with a bare JID in the 'to' attribute to a specific resource without changing the 'to' attribute.
If I want to route a message only to the resource with the highest presence priority or the most recently used resource, I must not change the 'to' attribute as stated in RFC 6121 chapter 8.5.2.1.1 (Server Rules for Processing XML Stanzas / Local User / Avalable or Connected Resource / Message) last paragraph:
In all cases, the server MUST NOT rewrite the 'to' attribute (i.e.,
it MUST leave it as <localpart@domainpart> rather than change it to
<localpart@domainpart/resourcepart>).
So this cannot be achieved with QXmppServer. I think that could easily be achieved by either adding a 2nd Parameter const QString& resource = QString() to sendElement(...) and sendPacket(...)
bool sendElement(const QDomElement &element, const QString& resource = QString());
bool sendPacket(const QXmppStanza &stanza, const QString& resource = QString());
or by providing overloaded methods
bool sendElement(const QDomElement &element);
bool sendElement(const QString& resource, const QDomElement &element);
bool sendPacket(const QXmppStanza &stanza);
bool sendPacket(const QString& resource, const QXmppStanza &stanza);
As I don't know the ideas / architecture / coding rules behind qxmpp I cannot estimate whether any of the suggestions would fit or whether it could cause problems.
Currently I think it would be enough to only add the possibility to just specify the resource but maybe someone can think of a use case for specifying the full JID.
according to http://xmpp.org/extensions/xep-0060.html#publisher-delete
and http://xmpp.org/extensions/xep-0060.html#owner-delete
the retract query should contain an item which going to be delete
<iq type='set'
from='[email protected]/elsinore'
to='pubsub.shakespeare.lit'
id='retract1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<retract node='princely_musings'>
<item id='ae890ac52d0df67ed7cfdf51b644e901'/>
</retract>
</pubsub>
</iq>
but 0.8.3 version do it this way
<iq type='set'
from='[email protected]/elsinore'
to='pubsub.shakespeare.lit'
id='retract1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<retract node='princely_musings'/>
</pubsub>
</iq>
it probably make a mistake between 8.4 Delete Node and 7.2 Delete an Item From Node
<iq type='set'
from='[email protected]/elsinore'
to='pubsub.shakespeare.lit'
id='delete1'>
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
<delete node='princely_musings'/>
</pubsub>
</iq>
if you agree with my opinion, i will fix it and make a pull request.
Hi...
after spending days trying to compile qxmpp achieve that objective. and so static compiled executable but run it gives me the following error:
QDnsLookup requires a QCoreApplication
Image Error:
http://picpaste.com/qxmpperror-Nung87qj.jpg
PD: Other Cap..
Hello!
openSUSE 13.2 x64, very fresh Qt 5.5 from gitorious.org/qt.
[ 50s] + qmake-qt5 PREFIX=/usr LIBDIR=lib64 QMAKE_STRIP= 'QMAKE_CXXFLAGS+=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' QXMPP_USE_OPUS=1 QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1
[ 50s] + make V=1 -j4
[ 50s] cd src/ && ( test -e Makefile || /usr/bin/qmake-qt5 /home/abuild/rpmbuild/BUILD/qxmpp-0.8.2/src/src.pro PREFIX=/usr LIBDIR=lib64 QMAKE_STRIP= QMAKE_CXXFLAGS+=-fmessage-length=0\ -grecord-gcc-switches\ -O2\ -Wall\ -D_FORTIFY_SOURCE=2\ -fstack-protector\ -funwind-tables\ -fasynchronous-unwind-tables\ -g QXMPP_USE_OPUS=1 QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1 QXMPP_USE_VPX=1 -o Makefile ) && make -f Makefile
[ 50s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/qxmpp-0.8.2/src'
[ 50s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppArchiveIq.o base/QXmppArchiveIq.cpp
[ 50s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppBindIq.o base/QXmppBindIq.cpp
[ 50s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppBookmarkSet.o base/QXmppBookmarkSet.cpp
[ 50s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppByteStreamIq.o base/QXmppByteStreamIq.cpp
[ 52s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppCodec.o base/QXmppCodec.cpp
[ 53s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppConstants.o base/QXmppConstants.cpp
[ 53s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppDataForm.o base/QXmppDataForm.cpp
[ 53s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppDiscoveryIq.o base/QXmppDiscoveryIq.cpp
[ 53s] base/QXmppCodec.cpp:1259:6: warning: unused parameter 'parameters' [-Wunused-parameter]
[ 53s] bool QXmppVpxDecoder::setParameters(const QMap<QString, QString> ¶meters)
[ 53s] ^
[ 54s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppElement.o base/QXmppElement.cpp
[ 56s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppEntityTimeIq.o base/QXmppEntityTimeIq.cpp
[ 56s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppGlobal.o base/QXmppGlobal.cpp
[ 56s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppIbbIq.o base/QXmppIbbIq.cpp
[ 56s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppIq.o base/QXmppIq.cpp
[ 57s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppJingleIq.o base/QXmppJingleIq.cpp
[ 57s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppLogger.o base/QXmppLogger.cpp
[ 58s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppMessage.o base/QXmppMessage.cpp
[ 58s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppMucIq.o base/QXmppMucIq.cpp
[ 59s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppNonSASLAuth.o base/QXmppNonSASLAuth.cpp
[ 60s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppPingIq.o base/QXmppPingIq.cpp
[ 60s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppPresence.o base/QXmppPresence.cpp
[ 61s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppPubSubIq.o base/QXmppPubSubIq.cpp
[ 61s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppRegisterIq.o base/QXmppRegisterIq.cpp
[ 62s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppResultSet.o base/QXmppResultSet.cpp
[ 62s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppRosterIq.o base/QXmppRosterIq.cpp
[ 63s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppRpcIq.o base/QXmppRpcIq.cpp
[ 64s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppRtpChannel.o base/QXmppRtpChannel.cpp
[ 64s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppSasl.o base/QXmppSasl.cpp
[ 65s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppSessionIq.o base/QXmppSessionIq.cpp
[ 66s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppSocks.o base/QXmppSocks.cpp
[ 66s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppStanza.o base/QXmppStanza.cpp
[ 68s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppStream.o base/QXmppStream.cpp
[ 69s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppStreamFeatures.o base/QXmppStreamFeatures.cpp
[ 70s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppStreamInitiationIq.o base/QXmppStreamInitiationIq.cpp
[ 70s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppStun.o base/QXmppStun.cpp
[ 71s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppUtils.o base/QXmppUtils.cpp
[ 71s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppVCardIq.o base/QXmppVCardIq.cpp
[ 71s] base/QXmppStun.cpp: In function 'bool decodeAddress(QDataStream&, quint16, QHostAddress&, quint16&, const QByteArray&)':
[ 71s] base/QXmppStun.cpp:111:12: error: no match for 'operator>>' (operand types are 'QDataStream' and 'quint8 {aka unsigned char}')
[ 71s] stream >> reserved;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:111:12: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: QDataStream& operator>>(QDataStream&, QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: QDataStream& operator>>(QDataStream&, QChar&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QChar &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QChar&'
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: QDataStream& operator>>(QDataStream&, QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstringlist.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: QDataStream& operator>>(QDataStream&, QRegExp&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &in, QRegExp ®Exp);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QRegExp&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: QDataStream& operator>>(QDataStream&, QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QVariant&'
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: QDataStream& operator>>(QDataStream&, QVariant::Type&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant::Type& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QVariant::Type&'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: QDataStream& operator>>(QDataStream&, QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QLocale&'
[ 71s] In file included from /usr/include/qt5/QtCore/qdebug.h:42:0,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: QTextStream& operator>>(QTextStream&, QTextStreamFunction)
[ 71s] inline QTextStream &operator>>(QTextStream &s, QTextStreamFunction f)
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: no known conversion for argument 1 from 'QDataStream' to 'QTextStream&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: QDataStream& operator>>(QDataStream&, QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator>>(QDataStream &, QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QHostAddress&'
[ 71s] base/QXmppStun.cpp:112:12: error: no match for 'operator>>' (operand types are 'QDataStream' and 'quint8 {aka unsigned char}')
[ 71s] stream >> protocol;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:112:12: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: QDataStream& operator>>(QDataStream&, QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: QDataStream& operator>>(QDataStream&, QChar&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QChar &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QChar&'
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: QDataStream& operator>>(QDataStream&, QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QString &);
[ 71s] [ 55.463494] serial8250: too much work for irq4
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstringlist.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: QDataStream& operator>>(QDataStream&, QRegExp&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &in, QRegExp ®Exp);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QRegExp&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: QDataStream& operator>>(QDataStream&, QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QVariant&'
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: QDataStream& operator>>(QDataStream&, QVariant::Type&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant::Type& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QVariant::Type&'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: QDataStream& operator>>(QDataStream&, QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QLocale&'
[ 71s] In file included from /usr/include/qt5/QtCore/qdebug.h:42:0,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: QTextStream& operator>>(QTextStream&, QTextStreamFunction)
[ 71s] inline QTextStream &operator>>(QTextStream &s, QTextStreamFunction f)
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: no known conversion for argument 1 from 'QDataStream' to 'QTextStream&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: QDataStream& operator>>(QDataStream&, QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator>>(QDataStream &, QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QHostAddress&'
[ 71s] base/QXmppStun.cpp:113:12: error: no match for 'operator>>' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream >> rawPort;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:113:12: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: QDataStream& operator>>(QDataStream&, QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: QDataStream& operator>>(QDataStream&, QChar&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QChar &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QChar&'
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: QDataStream& operator>>(QDataStream&, QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstringlist.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: QDataStream& operator>>(QDataStream&, QRegExp&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &in, QRegExp ®Exp);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QRegExp&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: QDataStream& operator>>(QDataStream&, QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant&'
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: QDataStream& operator>>(QDataStream&, QVariant::Type&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant::Type& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type&'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: QDataStream& operator>>(QDataStream&, QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QLocale&'
[ 71s] In file included from /usr/include/qt5/QtCore/qdebug.h:42:0,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: QTextStream& operator>>(QTextStream&, QTextStreamFunction)
[ 71s] inline QTextStream &operator>>(QTextStream &s, QTextStreamFunction f)
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: no known conversion for argument 1 from 'QDataStream' to 'QTextStream&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: QDataStream& operator>>(QDataStream&, QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator>>(QDataStream &, QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QHostAddress&'
[ 71s] base/QXmppStun.cpp:123:16: error: no match for 'operator>>' (operand types are 'QDataStream' and 'quint32 {aka unsigned int}')
[ 71s] stream >> addr;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:123:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: QDataStream& operator>>(QDataStream&, QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:663:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: QDataStream& operator>>(QDataStream&, QChar&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QChar &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qchar.h:559:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QChar&'
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: QDataStream& operator>>(QDataStream&, QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1327:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstringlist.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: QDataStream& operator>>(QDataStream&, QRegExp&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &in, QRegExp ®Exp);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qregexp.h:115:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QRegExp&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: QDataStream& operator>>(QDataStream&, QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:530:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QVariant&'
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: QDataStream& operator>>(QDataStream&, QVariant::Type&)
[ 71s] Q_CORE_EXPORT QDataStream& operator>> (QDataStream& s, QVariant::Type& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:532:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QVariant::Type&'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: QDataStream& operator>>(QDataStream&, QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:963:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QLocale&'
[ 71s] In file included from /usr/include/qt5/QtCore/qdebug.h:42:0,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: QTextStream& operator>>(QTextStream&, QTextStreamFunction)
[ 71s] inline QTextStream &operator>>(QTextStream &s, QTextStreamFunction f)
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qtextstream.h:219:21: note: no known conversion for argument 1 from 'QDataStream' to 'QTextStream&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: QDataStream& operator>>(QDataStream&, QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator>>(QDataStream &, QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:134:31: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QHostAddress&'
[ 71s] base/QXmppStun.cpp:132:15: error: invalid use of incomplete type 'class QDataStream'
[ 71s] stream.readRawData((char_)&addr, sizeof(addr));
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qatomic.h:34:0,
[ 71s] from /usr/include/qt5/QtCore/qrefcount.h:37,
[ 71s] from /usr/include/qt5/QtCore/qbytearray.h:37,
[ 71s] from /usr/include/qt5/QtCore/qcryptographichash.h:38,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qglobal.h:570:7: error: forward declaration of 'class QDataStream'
[ 71s] class QDataStream;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:136:52: error: invalid use of incomplete type 'class QDataStream'
[ 71s] QDataStream(&xpad, QIODevice::WriteOnly) << STUN_MAGIC;
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qatomic.h:34:0,
[ 71s] from /usr/include/qt5/QtCore/qrefcount.h:37,
[ 71s] from /usr/include/qt5/QtCore/qbytearray.h:37,
[ 71s] from /usr/include/qt5/QtCore/qcryptographichash.h:38,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qglobal.h:570:7: error: forward declaration of 'class QDataStream'
[ 71s] class QDataStream;
[ 71s] ^
[ 71s] base/QXmppStun.cpp: In function 'void encodeAddress(QDataStream&, quint16, const QHostAddress&, quint16, const QByteArray&)':
[ 71s] base/QXmppStun.cpp:153:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << type;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:153:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,[ 55.626430] serial8250: too much work for irq4
[ 71s]
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:154:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << quint16(8);
[ 71s] ^
[ 71s] base/QXmppStun.cpp:154:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:155:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'const quint8 {aka const unsigned char}')
[ 71s] stream << reserved;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:155:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'const quint8 {aka const unsigned char}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'const quint8 {aka const unsigned char}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'const quint8 {aka const unsigned char}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:156:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint8 {aka unsigned char}')
[ 71s] stream << quint8(STUN_IPV4);
[ 71s] ^
[ 71s] base/QXmppStun.cpp:156:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const [ 55.705719] serial8250: too much work for irq4
[ 71s] QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:163:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << port;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:163:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:164:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint32 {aka unsigned int}')
[ 71s] stream << addr;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:164:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0[ 55.760819] serial8250: too much work for irq4
[ 71s] ,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint32 {aka unsigned int}' to 'const QHostAddress&'
[ 71s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_OPUS -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibase -Iclient -Iserver -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtXml -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o QXmppVersionIq.o base/QXmppVersionIq.cpp
[ 71s] base/QXmppStun.cpp:166:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << type;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:166:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/[ 55.811727] serial8250: too much work for irq4
[ 71s] qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:167:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << quint16(20);
[ 71s] ^
[ 71s] base/QXmppStun.cpp:167:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:168:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'const quint8 {aka const unsigned char}')
[ 71s] stream << reserved;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:168:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 fro[ 55.867521] serial8250: too much work for irq4
[ 71s] m 'const quint8 {aka const unsigned char}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'const quint8 {aka const unsigned char}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'const quint8 {aka const unsigned char}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:169:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint8 {aka unsigned char}')
[ 71s] stream << quint8(STUN_IPV6);
[ 71s] ^
[ 71s] base/QXmppStun.cpp:169:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint8 {aka unsigned char}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:175:52: error: invalid use of incomplete type 'class QDataStream'
[ 71s] QDataStream(&xpad, QIODevice::WriteOnly) << STUN_MAGIC;
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qatomic.h:34:0,
[ 71s] from /usr/include/qt5/QtCore/qrefcount.h:37,
[ 71s] from /usr/include/qt5/QtCore/qbytearray.h:37,
[ 71s] from /usr/include/qt5/QtCore/qcryptographichash.h:38,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qglobal.h:570:7: error: forward declaration of 'class QDataStream'
[ 71s] class QDataStream;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:180:16: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << port;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:180:16: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included fr[ 55.922972] serial8250: too much work for irq4
[ 71s] om /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:181:15: error: invalid use of incomplete type 'class QDataStream'
[ 71s] stream.writeRawData((char_)&addr, sizeof(addr));
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qatomic.h:34:0,
[ 71s] from /usr/include/qt5/QtCore/qrefcount.h:37,
[ 71s] from /usr/include/qt5/QtCore/qbytearray.h:37,
[ 71s] from /usr/include/qt5/QtCore/qcryptographichash.h:38,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qglobal.h:570:7: error: forward declaration of 'class QDataStream'
[ 71s] class QDataStream;
[ 71s] ^
[ 71s] base/QXmppStun.cpp: In function 'void encodeString(QDataStream&, quint16, const QString&)':
[ 71s] base/QXmppStun.cpp:200:12: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << type;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:200:12: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:201:12: error: ambiguous overload for 'operator<<' (operand types are 'QDataStream' and 'quint16 {aka short unsigned int}')
[ 71s] stream << quint16(utf8string.size());
[ 71s] ^
[ 71s] base/QXmppStun.cpp:201:12: note: candidates are:
[ 71s] In file included from /usr/include/qt5/QtCore/qcryptographichash.h:38:0,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: QDataStream& operator<<(QDataStream&, const QByteArray&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QByteArray &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qbytearray.h:662:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QByteArray&'
[ 71s] In file included from /usr/include/qt5/QtCore/qstring.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qregexp.h:41,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qchar.h:558:28: note: QDataStream& operator<<(QDataStream&, QChar)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, QChar);
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qregexp.h:41:0,
[ 71s] from /usr/include/qt5/QtCore/qstringlist.h:40,
[ 71s] from /usr/include/qt5/QtCore/qlist.h:951,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:37,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: QDataStream& operator<<(QDataStream&, const QString&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QString &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qstring.h:1326:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QString&'
[ 71s] In file included from /usr/include/qt5/QtCore/qlocale.h:37:0,
[ 71s] from /usr/include/qt5/QtCore/qtextstream.h:40,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include[ 56.002010] serial8250: too much work for irq4
[ 71s] /qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qvariant.h:531:28: note: QDataStream& operator<<(QDataStream&, const QVariant&)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant& p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: QDataStream& operator<<(QDataStream&, QVariant::Type)
[ 71s] Q_CORE_EXPORT QDataStream& operator<< (QDataStream& s, const QVariant::Type p);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qvariant.h:533:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'QVariant::Type'
[ 71s] In file included from /usr/include/qt5/QtCore/qtextstream.h:40:0,
[ 71s] from /usr/include/qt5/QtCore/qdebug.h:42,
[ 71s] from /usr/include/qt5/QtNetwork/qabstractsocket.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostaddress.h:40,
[ 71s] from /usr/include/qt5/QtNetwork/qhostinfo.h:39,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: QDataStream& operator<<(QDataStream&, const QLocale&)
[ 71s] Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtCore/qlocale.h:962:28: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QLocale&'
[ 71s] In file included from /usr/include/qt5/QtNetwork/qhostinfo.h:39:0,
[ 71s] from /usr/include/qt5/QtNetwork/QHostInfo:1,
[ 71s] from base/QXmppStun.cpp:27:
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: QDataStream& operator<<(QDataStream&, const QHostAddress&)
[ 71s] Q_NETWORK_EXPORT QDataStream &operator<<(QDataStream &, const QHostAddress &);
[ 71s] ^
[ 71s] /usr/include/qt5/QtNetwork/qhostaddress.h:133:31: note: no known conversion for argument 2 from 'quint16 {aka short unsigned int}' to 'const QHostAddress&'
[ 71s] base/QXmppStun.cpp:202:11: error: invalid use of incomplete type 'class QDataStream'
[ 71s] stream.writeRawData(utf8string.data(), utf8string.size());
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qatomic.h:34:0,
[ 71s] from /usr/include/qt5/QtCore/qrefcount.h:37,
[ 71s] from /usr/include/qt5/QtCore/qbytearray.h:37,
[ 71s] from /usr/include/qt5/QtCore/qcryptographichash.h:38,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qglobal.h:570:7: error: forward declaration of 'class QDataStream'
[ 71s] class QDataStream;
[ 71s] ^
[ 71s] base/QXmppStun.cpp:206:15: error: invalid use of incomplete type 'class QDataStream'
[ 71s] stream.writeRawData(padding.data(), padding.size());
[ 71s] ^
[ 71s] In file included from /usr/include/qt5/QtCore/qatomic.h:34:0,
[ 71s] from /usr/include/qt5/QtCore/qrefcount.h:37,
[ 71s] from /usr/include/qt5/QtCore/qbytearray.h:37,
[ 71s] from /usr/include/qt5/QtCore/qcryptographichash.h:38,
[ 71s] from /usr/include/qt5/QtCore/QCryptographicHash:1,
[ 71s] from base/QXmppStun.cpp:26:
[ 71s] /usr/include/qt5/QtCore/qglobal.h:570:7: error: forward declaration of 'class QDataStream'
[ 71s] class QDataStream;
[ 71s] ^
[ 71s] base/QXmppStun.cpp: In function 'void setBodyLength(QByteArray&, qint16)':
[ 71s] base/QXmppStun.cpp:212:23: error: variable 'QDataStream stream' has initializer but incomplete type
[ 71s] QDataStream stream(&buffer, QIODevice::WriteOnly);
[ 71s] ^
[ 71s] base/QXmppStun.cpp: In member function 'bool QXmppStunMessage::decode(const QByteArray&, const QByteArray&, QStringList_)':
[ 71s] base/QXmppStun.cpp:495:30: error: variable 'QDataStream stream' has initializer but incomplete type
[ 71s] QDataStream stream(buffer);
[ 71s] ^
[ 71s] base/QXmppStun.cpp: In member function 'QByteArray QXmppStunMessage::encode(const QByteArray&, bool) const':
[ 71s] base/QXmppStun.cpp:783:23: error: variable 'QDataStream stream' has initializer but incomplete type
[ 71s] QDataStream stream(&buffer, QIODevice::WriteOnly);
[ 71s] ^
[ 71s] base/QXmppStun.cpp: In static member function 'static quint16 QXmppStunMessage::peekType(const QByteArray&, quint32&, QByteArray&)':
[ 71s] base/QXmppStun.cpp:967:30: error: variable 'QDataStream stream' has initializer but incomplete type
[ 71s] QDataStream stream(buffer);
[ 71s] ^
[ 71s] base/QXmppStun.cpp: In member function 'void QXmppTurnAllocation::handleDatagram(const QByteArray&, const QHostAddress&, quint16)':
[ 71s] base/QXmppStun.cpp:1254:34: error: variable 'QDataStream stream' has initializer but incomplete type
[ 71s] QDataStream stream(buffer);
[ 71s] ^
[ 72s] base/QXmppStun.cpp: In member function 'qint64 QXmppTurnAllocation::writeDatagram(const QByteArray&, const QHostAddress&, quint16)':
[ 72s] base/QXmppStun.cpp:1511:23: error: variable 'QDataStream stream' has initializer but incomplete type
[ 72s] QDataStream stream(&channelData, QIODevice::WriteOnly);
[ 72s] ^
[ 72s] Makefile:1200: recipe for target 'QXmppStun.o' failed
[ 72s] make[1]: *_* [QXmppStun.o] Error 1
[ 72s] make[1]: *** Waiting for unfinished jobs....
[ 75s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/qxmpp-0.8.2/src'
[ 75s] Makefile:42: recipe for target 'sub-src-make_first-ordered' failed
[ 75s] make: *** [sub-src-make_first-ordered] Error 2
There is a problem for me using QXmppMessage
the mthod QXmppMessage::parse, will using XEP-0091: Legacy Delayed Delivery in the end.
because the order of code, legacy will replace XEP-0203 : Delayed Delivery's value
below code is the xml example, i have no chance to get timestamp with millisecond because of d->stamp will use the legacy delayed delivery.
XEP-0091 is not recommended now, can the XEP-0203 parse code move to below XEP-0091, then it will
replace XEP-0091's timestamp if there is XEP-203
if you agree with this, maybe i can make a pull request
<message type="groupchat" from="[email protected]" to="[email protected]/QXmpp">
<subject>CRD_CII</subject>
<delay xmlns="urn:xmpp:delay" stamp="2014-11-13T06:57:41.509Z" from="[email protected]"/>
<x xmlns="jabber:x:delay" stamp="20141113T06:57:41" from="[email protected]"/>
</message>
Build log:
qxmpp/src/base/QXmppStream.cpp: In member function 'virtual void QXmppStream::disconnectFromHost()':
qxmpp/src/base/QXmppStream.cpp:92:18: error: invalid use of incomplete type 'class QSslSocket'
d->socket->flush();
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp:93:18: error: invalid use of incomplete type 'class QSslSocket'
d->socket->disconnectFromHost();
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp: In member function 'virtual bool QXmppStream::isConnected() const':
qxmpp/src/base/QXmppStream.cpp:114:21: error: invalid use of incomplete type 'class QSslSocket'
d->socket->state() == QAbstractSocket::ConnectedState;
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp: In member function 'virtual bool QXmppStream::sendData(const QByteArray&)':
qxmpp/src/base/QXmppStream.cpp:124:32: error: invalid use of incomplete type 'class QSslSocket'
if (!d->socket || d->socket->state() != QAbstractSocket::ConnectedState)
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp:126:21: error: invalid use of incomplete type 'class QSslSocket'
return d->socket->write(data) == data.size();
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp: In member function 'void QXmppStream::setSocket(QSslSocket_)':
qxmpp/src/base/QXmppStream.cpp:166:53: error: no matching function for call to 'QXmppStream::connect(QSslSocket_&, const char_, QXmppStream_ const, const char_)'
this, SLOT(q_socketConnected()));
^
qxmpp/src/base/QXmppStream.cpp:166:53: note: candidates are:
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: static QMetaObject::Connection QObject::connect(const QObject, const char_, const QObject_, const char_, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const char *signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: static QMetaObject::Connection QObject::connect(const QObject_, const QMetaMethod&, const QObject_, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: QMetaObject::Connection QObject::connect(const QObject_, const char_, const char_, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject asender, const char *asignal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: no known conversion for argument 1 from 'QSslSocket' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:166:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:166:53: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketConnected()));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject_, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:166:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: error: invalid use of incomplete type 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
In file included from /usr/local/Qt-5.4.0/include/QtCore/qnamespace.h:45:0,
from /usr/local/Qt-5.4.0/include/QtCore/qobjectdefs.h:49,
from /usr/local/Qt-5.4.0/include/QtCore/qobject.h:48,
from /usr/local/Qt-5.4.0/include/QtCore/QObject:1,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qglobal.h:1064:45: error: declaration of 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
template <bool B, typename T = void> struct QEnableIf;
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:166:53: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketConnected()));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:166:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
qxmpp/src/base/QXmppStream.cpp:170:53: error: no matching function for call to 'QXmppStream::connect(QSslSocket_&, const char_, QXmppStream* const, const char_)'
this, SLOT(q_socketEncrypted()));
^
qxmpp/src/base/QXmppStream.cpp:170:53: note: candidates are:
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: static QMetaObject::Connection QObject::connect(const QObject, const char_, const QObject_, const char_, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const char *signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: static QMetaObject::Connection QObject::connect(const QObject_, const QMetaMethod&, const QObject_, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: QMetaObject::Connection QObject::connect(const QObject_, const char_, const char_, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject asender, const char *asignal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: no known conversion for argument 1 from 'QSslSocket' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:170:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:170:53: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketEncrypted()));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject_, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:170:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: error: invalid use of incomplete type 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
In file included from /usr/local/Qt-5.4.0/include/QtCore/qnamespace.h:45:0,
from /usr/local/Qt-5.4.0/include/QtCore/qobjectdefs.h:49,
from /usr/local/Qt-5.4.0/include/QtCore/qobject.h:48,
from /usr/local/Qt-5.4.0/include/QtCore/QObject:1,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qglobal.h:1064:45: error: declaration of 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
template <bool B, typename T = void> struct QEnableIf;
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:170:53: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketEncrypted()));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:170:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
qxmpp/src/base/QXmppStream.cpp:174:77: error: no matching function for call to 'QXmppStream::connect(QSslSocket_&, const char_, QXmppStream* const, const char_)'
this, SLOT(q_socketError(QAbstractSocket::SocketError)));
^
qxmpp/src/base/QXmppStream.cpp:174:77: note: candidates are:
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: static QMetaObject::Connection QObject::connect(const QObject, const char_, const QObject_, const char_, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const char *signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: static QMetaObject::Connection QObject::connect(const QObject_, const QMetaMethod&, const QObject_, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: QMetaObject::Connection QObject::connect(const QObject_, const char_, const char_, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject asender, const char *asignal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: no known conversion for argument 1 from 'QSslSocket' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:174:77: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:174:77: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketError(QAbstractSocket::SocketError)));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject_, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:174:77: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: error: invalid use of incomplete type 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
In file included from /usr/local/Qt-5.4.0/include/QtCore/qnamespace.h:45:0,
from /usr/local/Qt-5.4.0/include/QtCore/qobjectdefs.h:49,
from /usr/local/Qt-5.4.0/include/QtCore/qobject.h:48,
from /usr/local/Qt-5.4.0/include/QtCore/QObject:1,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qglobal.h:1064:45: error: declaration of 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
template <bool B, typename T = void> struct QEnableIf;
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:174:77: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketError(QAbstractSocket::SocketError)));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:174:77: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
qxmpp/src/base/QXmppStream.cpp:177:53: error: no matching function for call to 'QXmppStream::connect(QSslSocket_&, const char_, QXmppStream* const, const char_)'
this, SLOT(q_socketReadyRead()));
^
qxmpp/src/base/QXmppStream.cpp:177:53: note: candidates are:
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: static QMetaObject::Connection QObject::connect(const QObject, const char_, const QObject_, const char_, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const char *signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:204:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: static QMetaObject::Connection QObject::connect(const QObject_, const QMetaMethod&, const QObject_, const QMetaMethod&, Qt::ConnectionType)
static QMetaObject::Connection connect(const QObject *sender, const QMetaMethod &signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:207:36: note: no known conversion for argument 1 from 'QSslSocket_' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: QMetaObject::Connection QObject::connect(const QObject_, const char_, const char_, Qt::ConnectionType) const
inline QMetaObject::Connection QObject::connect(const QObject asender, const char *asignal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:485:32: note: no known conversion for argument 1 from 'QSslSocket' to 'const QObject_'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType)
static inline QMetaObject::Connection connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static QMetaObject::Connection QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const typename QtPrivate::FunctionPointer::Object_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:177:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:221:43: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:253:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:177:53: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketReadyRead()));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject_, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(((int)(QtPrivate::FunctionPointer::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer::IsPointerToMemberFunction)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:177:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:262:13: error: invalid use of incomplete type 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
In file included from /usr/local/Qt-5.4.0/include/QtCore/qnamespace.h:45:0,
from /usr/local/Qt-5.4.0/include/QtCore/qobjectdefs.h:49,
from /usr/local/Qt-5.4.0/include/QtCore/qobject.h:48,
from /usr/local/Qt-5.4.0/include/QtCore/QObject:1,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qglobal.h:1064:45: error: declaration of 'struct QtPrivate::QEnableIf<false, QMetaObject::Connection>'
template <bool B, typename T = void> struct QEnableIf;
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, Func2)
connect(const typename QtPrivate::FunctionPointer::Object sender, Func1 signal, Func2 slot)
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:293:13: note: template argument deduction/substitution failed:
qxmpp/src/base/QXmppStream.cpp:177:53: note: candidate expects 3 arguments, 4 provided
this, SLOT(q_socketReadyRead()));
^
In file included from /usr/local/Qt-5.4.0/include/QtCore/QObject:1:0,
from qxmpp/src/base/QXmppLogger.h:29,
from qxmpp/src/base/QXmppStream.cpp:27:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object, Func1, const QObject, Func2, Qt::ConnectionType)
connect(const typename QtPrivate::FunctionPointer::Object *sender, Func1 signal, const QObject *context, Func2 slot,
^
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: note: template argument deduction/substitution failed:
/usr/local/Qt-5.4.0/include/QtCore/qobject.h: In substitution of 'template<class Func1, class Func2> static typename QtPrivate::QEnableIf<(QtPrivate::FunctionPointer::ArgumentCount == (-1)), QMetaObject::Connection>::Type QObject::connect(const typename QtPrivate::FunctionPointer::Object_, Func1, const QObject_, Func2, Qt::ConnectionType) [with Func1 = const char_; Func2 = const char_]':
qxmpp/src/base/QXmppStream.cpp:177:53: required from here
/usr/local/Qt-5.4.0/include/QtCore/qobject.h:301:13: error: no type named 'Object' in 'struct QtPrivate::FunctionPointer'
qxmpp/src/base/QXmppStream.cpp: In member function 'void QXmppStream::_q_socketConnected()':
qxmpp/src/base/QXmppStream.cpp:184:18: error: invalid use of incomplete type 'class QSslSocket'
d->socket->peerAddress().toString(),
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp:185:34: error: invalid use of incomplete type 'class QSslSocket'
QString::number(d->socket->peerPort())));
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp: In member function 'void QXmppStream::_q_socketError(QAbstractSocket::SocketError)':
qxmpp/src/base/QXmppStream.cpp:198:48: error: invalid use of incomplete type 'class QSslSocket'
warning(QString("Socket error: " + socket()->errorString()));
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
qxmpp/src/base/QXmppStream.cpp: In member function 'void QXmppStream::_q_socketReadyRead()':
qxmpp/src/base/QXmppStream.cpp:203:35: error: invalid use of incomplete type 'class QSslSocket'
d->dataBuffer.append(d->socket->readAll());
^
In file included from qxmpp/src/base/QXmppStream.cpp:29:0:
qxmpp/src/base/QXmppStream.h:34:7: error: forward declaration of 'class QSslSocket'
class QSslSocket;
^
Does not compile for iOS with Qt 5.4.1 with several errors like "member access into incomplete type 'QSslSocket' QXmppStream.cpp 92", and so on at every line, where method of socket are used.
I've used newly installed Qt 5.4.1 for Mac OS X (via online installer), and clean clone of qxmpp repository. Then I open qxmpp project in Qt Creator, press "Build", and got this errors
For instance http://packages.ubuntu.com/source/vivid/qxmpp QXmpp package requires Qt4 (and is built with Qt4, so this might cause and causes some crashes, etc). and that'd be nice to be able to install QXmpp from apt, yum, etc but for Qt5, not 4. I suggest naming like qxmpp-qt5
or something similar (and of course. same for pkgconfig).
When i comppile QXmpp as static library it doesn't include QDomDocument.
I got an error:
undefined symbol: _ZN12QDomDocumentC1Ev
But if i create QDomDocument object im my application manually - everything works fine.
Is supports for iOS?
I cannot to compile for iOS in Qt Creator.
I use ejabberd as my XMPP server. When I used the GuiClient, most of the statuses are incorrect (offline when most are online). I ended up commenting out the lines you see below and then they are correct. I just thought I would pass this along in case others run into this. I am not positive if this is the best fix or not, but it allows the updatePresence() to create the therefore set the presence (otherwise, it gets created later without the presence).
void mainDialog::presenceChanged(const QString& bareJid, const QString& resource)
{
if(bareJid == m_xmppClient.configuration().jidBare())
return;
//if(!m_rosterItemModel.getRosterItemFromBareJid(bareJid))
// return;
QString jid = bareJid + "/" + resource;
QMap<QString, QXmppPresence> presences = m_xmppClient.rosterManager().
getAllPresencesForBareJid(bareJid);
m_rosterItemModel.updatePresence(bareJid, presences);
/* . . . */
}
It seems that the qxmpp server ignores the receipt of closing </stream:stream> tags.
I've implemented an XMPP server using qxmpp.
If a client wants to close the connection, he sends a </stream:stream> and then waits for the closing stream-tag by the server (as described in http://tools.ietf.org/html/rfc6120#section-4.4 point 1). If the client ignores point 3 and waits infinite for the closing tag (or has defined the "reasonable amount of time" to be more than 2 minutes) the server does not send the closing tag before running into a timeout after 120 seconds.
If the client did not send an unavailable presence prior to its </stream:stream> it seems still available and I didn't find a possibility in my server code to create the missing unavailable presence as the signal clientDisconnected is not raised until the timeout occurs.
Did I just miss to implement something or is this something that needed to be fixed inside qxmpp?
There is a problem when trying to build using QtCreator 3.3.0 (Qt 5.4) for Android
Error:
14:51:12: Internal Error: Could not find .pro file.
Error while building/deploying project qxmpp (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.4.0))
When executing step "Build Android APK"
Related with:
https://bugreports.qt-project.org/browse/QTCREATORBUG-13566
Platform:
Ubuntu Linux 64 bits
Qt Creator 3.3.0
Qt 5.4.0
Building for:
Android armeabi-v7a
GCC 4.8
QXMPP_VERSION = 0.8.2
Temporary solution:
In Qt Creator goto Project, Build settings
- Disable "make install" step
- Disable "Build apk" step on the Project's mode under the build settings.
Perhaps it would be useful to clarify the issue in the Readme file
The socks5 negotiation protocol is a standard and it is well known how many bytes are send and how many received from server during handshake. The problem I found is with readAll() method from line 171 which reads all available data from the socket. At this moment the server could have started the file transfer and the socket may contain some file content. This generated file corrupted error on the client side because the beginning of the file is consumed before (in the handshake part, line 171). I resolved the problem as shown below. The standard size of the 2nd response of the server is 47 bytes, so I read from socket only that amount of data(only the response)
diff --git a/Client-QXmpp/src/base/QXmppSocks.cpp b/Client-QXmpp/src/base/QXmppSocks.cpp
index 82ccd09..7b8ede6 100644
--- a/Client-QXmpp/src/base/QXmppSocks.cpp
+++ b/Client-QXmpp/src/base/QXmppSocks.cpp
@@ -168,7 +168,8 @@ void QXmppSocksClient::slotReadyRead()
disconnect(this, SIGNAL(readyRead()), this, SLOT(slotReadyRead()));
// receive CONNECT response
QByteArray buffer = readAll();
QByteArray buffer = read(47);
if (buffer.size() < 6 ||
buffer.at(0) != SocksVersion ||
buffer.at(1) != Succeeded ||
For mobile use stream management can help e.g. in reducing lost messages. See here:
http://op-co.de/blog/posts/mobile_xmpp_in_2014/
I'd love to see it implemented.
there is no support about managing discussion history : http://xmpp.org/extensions/xep-0045.html#enter-managehistory, but it will be needed in mobile device.
A user might want to manage the amount of discussion history provided on entering a room (perhaps because the user is on a low-bandwidth connection or is using a small-footprint client). This is accomplished by including a child in the initial presence stanza sent when joining the room.
there is a reason to implement it
if you agree with my opinion, i will implement it and make a pull request
If you call an RPC method via XMPP which has a QString parameter which only contains whitespace characters (i.e. "\n\n"), they get stripped away by the QXmlReader.
I need to compose a stanza like this (to create the coven room on the chat.shakespeare.lit server)
<presence
from='[email protected]/pda'
id='n13mt3l'
to='[email protected]/thirdwitch'>
<x xmlns='http://jabber.org/protocol/muc'/>
</presence>
to the server but cant find a way to compose it into a packet and send it to my server.I have tried
QXmppMucManager *manager = new QXmppMucManager;
m_xmppClient.addExtension(manager);
QXmppMucRoom *room = manager->addRoom("[email protected]");
room->setNickName("whoAreYou");
room->join();
but the program crashes as soon as the addRoom function is called.Messing with different configurations for the QXmppPresesence didn't help much either.Is there a way one can send this directed presence stanza I am not finding. Also does this library offer a way to construct a stanza yourself through xml streams so I can build it myself?Thanks.
The latest git snapshot, openSUSE with gcc 4.8 or 5.1 both provide the same build time issue:
[ 99s] + qmake PREFIX=/usr LIBDIR=lib64 QMAKE_STRIP= 'QMAKE_CXXFLAGS+=-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g' QXMPP_USE_VPX=1 QXMPP_USE_SPEEX=1 QXMPP_USE_THEORA=1
…
[ 102s] g++ -c -pipe -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -O2 -Wall -W -D_REENTRANT -fPIC -DQXMPP_USE_SPEEX -DQXMPP_USE_THEORA -DQXMPP_USE_VPX -DQXMPP_SHARED -DQXMPP_BUILD -DQT_NO_DEBUG -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtXml -I/usr/include -Ibase -Iclient -Iserver -I. -o QXmppDiscoveryIq.o base/QXmppDiscoveryIq.cpp
[ 103s] base/QXmppCodec.cpp: In member function 'virtual QList QXmppVpxDecoder::handlePacket(const QXmppRtpPacket&)':
[ 103s] base/QXmppCodec.cpp:1221:35: error: invalid use of member function (did you forget the '()' ?)
[ 103s] || packet.sequence == sequence) {
[ 103s] ^
[ 103s] base/QXmppCodec.cpp:1225:42: error: invalid use of member function (did you forget the '()' ?)
[ 103s] sequence = packet.sequence + 1;
[ 103s] ^
[ 103s] base/QXmppCodec.cpp:1234:39: error: invalid use of member function (did you forget the '()' ?)
[ 103s] || packet.sequence == sequence) {
[ 103s] ^
[ 103s] base/QXmppCodec.cpp:1236:46: error: invalid use of member function (did you forget the '()' ?)
[ 103s] sequence = packet.sequence + 1;
[ 103s] ^
[ 103s] base/QXmppCodec.cpp:1240:36: error: invalid use of member function (did you forget the '()' ?)
[ 103s] if (packet.sequence == sequence) {
[ 103s] ^
[ 103s] base/QXmppCodec.cpp: At global scope:
[ 103s] base/QXmppCodec.cpp:1261:67: warning: unused parameter 'parameters' [-Wunused-parameter]
[ 103s] bool QXmppVpxDecoder::setParameters(const QMap<QString, QString> ¶meters)
[ 103s] ^
[ 103s] Makefile:631: recipe for target 'QXmppCodec.o' failed
[ 103s] make[1]: *** [QXmppCodec.o] Error 1
Can xmpp server not to store archives?
When I try to repeat archiveHandling_7 example in my project I see in log the following:
сб янв. 24 11:42:23 2015 SENT <iq id="qxmpp49" type="get"><retrieve xmlns="urn:xmpp:archive" with="[email protected]"
сб янв. 24 11:42:23 2015 RECEIVED <iq type="error" id="qxmpp49" to="[email protected]/QXmpp"><retrieve xmlns="urn:xmpp:archive" with="[email protected]" start="2015-01-10T08:42:23.561Z"/><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
Does that mean that xmpp server refuses to give me archive or archiveHandling
example can be modified to fix the problem?
Does Qxmpp allow the creation of pubsub nodes or I have to create the stanzas myself. I have seen the QXmppPubSubIq but I have found no way i could use it to build a stanza like this:
<iq from="[email protected]/throne"
id="cr561nd0"
to="notify.wonderland.lit"
type="set">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<create node="queenly_proclamations"/>
</pubsub>
</iq>
My thoughts were that there should be an CreateQuery enum in the QXmppPubSubIq class like
class QXMPP_EXPORT QXmppPubSubIq : public QXmppIq
{
public:
/// This enum is used to describe a publish-subscribe query type.
enum QueryType
{
AffiliationsQuery,
DefaultQuery,
CreateQuery//This is not present.
And setting the queryType on the stanza would create a stanza to create a pubsub node on the server. Is a thing like present in QXmpp or am I missing something.
Thank you for your time.
The XEP-0060 has create node and delete node, configure node,
but the PubsubIq didn't had it, its query type show below :
enum QueryType
{
AffiliationsQuery,
DefaultQuery,
ItemsQuery,
PublishQuery,
RetractQuery,
SubscribeQuery,
SubscriptionQuery,
SubscriptionsQuery,
UnsubscribeQuery,
};
and there is no type for create node, Was there a miss, or it has another way to do?
Hello,
if you use QXmpp in a multithreaded application you have to work arround the problem that there is only one QXmppClient::connectToServer slot. But this resets the QXmppClient::configuation. So please move QXmppClient::connectToServer(const QXmppConfiguration&) from public to public slots.
This happens after executing make install
, if I create doc/html directory (mkdir doc/html
) everythings goes fine.
make[2]: Entering directory '/home/poxip/qxmpp/examples/example_9_vCard'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/home/poxip/qxmpp/examples/example_9_vCard'
make[1]: Leaving directory '/home/poxip/qxmpp/examples'
cd doc/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/poxip/qxmpp/doc/doc.pro -o Makefile ) && make -f Makefile install
make[1]: Entering directory '/home/poxip/qxmpp/doc'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/home/poxip/qxmpp/doc'
cp -f -R /home/poxip/qxmpp/doc/html /usr/local/share/doc/qxmpp/
cp: cannot stat ‘/home/poxip/qxmpp/doc/html’: No such file or directory
Makefile:356: recipe for target 'install_htmldocs' failed
make: [install_htmldocs] Error 1 (ignored)
"make installs" installs the test binaries. This is probably not wanted...
Hello, I noticed there was an issue closed about this problem before, but I couldn't figure out how to fix it. Here is a screenshot:
I've looked at the examples and I can't figure out what I'm doing wrong. I've commented out almost all my code and it still gives me this error. I cannot understand what I am doing wrong.
Any help would be appreciated
Hi there.
I try to create qxmpp client with jingle support. I have downloaded and compiled QXMPP using Speex, Theora, VPX using this instruction http://hipersayanx.blogspot.com.ar/2014/07/compile-qxmpp-in-windows-with-full.html
After a compilation I get win32 folder with libqxmpp.a inside. Then I have created a new Qt project and included qxmpp lib in .pro file. When I try to create QxmppLogger object I get theese errors:
undefined reference to _imp___ZN11QXmppLogger9getLoggerEv' undefined reference to
_imp___ZN11QXmppLogger14setLoggingTypeENS_11LoggingTypeE'
When I try to create QxmppClient object I get theese errors:
undefined reference to _imp___ZN11QXmppClientC1EP7QObject' undefined reference to
_imp___ZN11QXmppClientD1Ev'
undefined reference to `_imp___ZN11QXmppClientD1Ev'
And so on.
Qt uses mingw 4.1, the version of mingw from example above is 3.8. I thougth, this is the problem, so i tried to recompile QXMPP using mingw 4.1 (from qt folder), but it had no affect.
I'am using Windows 7 x64, Qt5, MinGW 4.1.
Thank you in advance.
So I'm trying to run the "Server" example on my pc. Using "localhost" as the domain. I'm getting these messages on the console:
"qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method"
OS: Ubuntu
Now, I can join a chat room using MUCManager, but before that, I want to obtain the room list which were registered in the server, I don't know which function or signals can be used to do that. Please help me
I am trying the third example and am wondering if I am missing something just as silly as I did in #67. I have set up the configuration correctly. I have set it up like:
QXmppConfiguration config;
config.setJid("[email protected]");
config.setPassword("super_secret");
config.setHost("blah.something.com");
client.connectToServer(config);
and then in the constructor of the xmppClient, I am using the following to set up the "File Transfer Proxies" (as Pidgin calls it within the advanced settings):
// add transfer manager
transferManager = new QXmppTransferManager;
//transferManager->setProxy("proxy.qxmpp.org");
transferManager->setProxy("blah.something.com");
addExtension(transferManager);
I then end up with the following in the console (after I accept the send to a user on Pidgin):
Sat 15. Aug 00:08:18 2015 RECEIVED
I can do the file transfers from Pidgin, so would guess I have made a silly error.
I also took a look at receiving a file. It appeared like it was receiving, but I could not find the file. I looked through some code and believe I see why. It is never saving the file name. Within slotFileReceived(), I used the other accept() method and it saved the file. Do I have something else set up incorrectly?
// allocate a buffer to receive the file
//QBuffer *buffer = new QBuffer(this);
//buffer->open(QIODevice::WriteOnly);
//job->accept(buffer);
job->accept(job->fileName());
Hi there. I have compiled QXMPP with SPEEX and VPX libraries. Video went quiet smooth, but audio delay was about one minute.
I have recompiled QXMPP with OPUS and VPX, but nothing has changed. Video still goes smoothly, audio still has delay.
How could I fix this?
Hi,
it seems like there is a bug in QXmpp's vCard parser. Instead of looking for a "TEL" element (like stated in RFC2426) it searches for some "PHONE" element. Hence the phones() list is always empty. I'm connecting to a OpenFire server and i did a trace of the traffic. I can see "TEL" elements but no "PHONE" elements.
Thanks.
I am a (dot)net programmer and this is my first time to develop a real application in Qt and C++. So i am confused and very disappear in using an Qt based XMPP protocol in Qt5 for mobile (android and etc).
Can somebody help me and [others like me and] complete these tutorial and documentations by Step-By-Step guide to adding this QXMPP library and start programming by it's APIs.
Thanks in advance.
subj
Hello ,
I am trying to build a project on linux 64 bit system(ubuntu) using qxmpp,I am getting a crash when the client connects to the server and my debugging has pointed to problems in dns lookup.I have included the files from /src/base and /src/client in my project as .The dns part simply mimics your base.pri section like this ;
qt_version = $$QT_MAJOR_VERSION
contains(qt_version, 4) {
INSTALL_HEADERS += ../../QXmpp/qxmpp-master/src/base/qdnslookup.h
INSTALL_HEADERS += ../../QXmpp/qxmpp-master/src/base/qdnslookup_p.h
SOURCES += ../../QXmpp/qxmpp-master/src/base/qdnslookup.cpp
android:SOURCES += ../../QXmpp/qxmpp-master/src/base/qdnslookup_stub.cpp
else:symbian:SOURCES += ../../QXmpp/qxmpp-master/src/base/qdnslookup_symbian.cpp
else:unix:SOURCES += ../../QXmpp/qxmpp-master/src/base/qdnslookup_unix.cpp
else:win32:SOURCES += ../../QXmpp/qxmpp-master/src/base/qdnslookup_win.cpp
else:SOURCES += ../../QXmpp/qxmpp-master/src/base/qdnslookup_stub.cpp
}
I have seen that you have succesfully tested on linux g++ 64 bit ,so it must be me messing up somewhere and I would appreciate any hint.Here is my debug window.I have to mention that it is working ok when I build on my windows 7 64 bit environment.
Thank you for your time.
I wanted to add a feature to ignore SSL errors during connection (sometimes certificate is messed up on the server but you still want to connect).
I used xmppConfig.setIgnoreSslErrors(true), where xmppConfig is an object of QXmppConfiguration class I give QXmppClient when calling connectToServer(QXmppConfiguration);
For some reason, my app still fails when SSL error occurs. Is it something wrong with QXmpp or my code? I'm using qxmpp 0.8.0.
I have a QT project in which I want to include the QXMPP library. I added it as a dynamic external library but it still doesn't recognize the header files from QXMPP
"Cannot open include file: 'QXmppClient.h': No such file or directory"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.