<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp)]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I'm trying to connect to server, but I can't - there is no error - only when I push the button "Connect" in my app I get this (in application output): "QDnsLookup requires a QCoreApplication" in place where I tries to connect to server<br />
@ userClient-&gt;connectToServer(config);@</p>
<p dir="auto">as it could be some mistake in qxmpp library, but it happens only on my PC computer, on my second computer it works fine.</p>
]]></description><link>https://forum.qt.io/topic/37590/solved-qdnslookup-requires-a-qcoreapplication-app-output-qxmpp</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 00:38:48 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/37590.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Feb 2014 07:49:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp) on Tue, 10 Feb 2015 04:51:16 GMT]]></title><description><![CDATA[<p dir="auto">hello i have 2 error. using qxmpp..</p>
<p dir="auto">mar feb 10 00:17:24 2015 DEBUG Looking up server for domain <a href="http://jabber.com" target="_blank" rel="noopener noreferrer nofollow ugc">jabber.com</a><br />
QDnsLookup requires a QCoreApplication</p>
<p dir="auto">Images:</p>
<p dir="auto"><a href="http://picpaste.com/qxmpperror-Nung87qj.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://picpaste.com/qxmpperror-Nung87qj.jpg</a></p>
<p dir="auto"><a href="http://picpaste.com/qxmpperror2-tPVEI9FC.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://picpaste.com/qxmpperror2-tPVEI9FC.jpg</a></p>
<p dir="auto">Please Help me..</p>
]]></description><link>https://forum.qt.io/post/226629</link><guid isPermaLink="true">https://forum.qt.io/post/226629</guid><dc:creator><![CDATA[misa3l]]></dc:creator><pubDate>Tue, 10 Feb 2015 04:51:16 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp) on Tue, 10 Feb 2015 04:51:16 GMT]]></title><description><![CDATA[<p dir="auto">hello i have 2 error. using qxmpp..</p>
<p dir="auto">mar feb 10 00:17:24 2015 DEBUG Looking up server for domain <a href="http://jabber.com" target="_blank" rel="noopener noreferrer nofollow ugc">jabber.com</a><br />
QDnsLookup requires a QCoreApplication</p>
<p dir="auto">Images:</p>
<p dir="auto"><a href="http://picpaste.com/qxmpperror-Nung87qj.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://picpaste.com/qxmpperror-Nung87qj.jpg</a></p>
<p dir="auto"><a href="http://picpaste.com/qxmpperror2-tPVEI9FC.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">http://picpaste.com/qxmpperror2-tPVEI9FC.jpg</a></p>
<p dir="auto">Please Help me..</p>
]]></description><link>https://forum.qt.io/post/260977</link><guid isPermaLink="true">https://forum.qt.io/post/260977</guid><dc:creator><![CDATA[misa3l]]></dc:creator><pubDate>Tue, 10 Feb 2015 04:51:16 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp) on Thu, 03 Dec 2015 09:51:36 GMT]]></title><description><![CDATA[<p dir="auto">i have same problem like this, so what is the answer for it?</p>
<p dir="auto">edit :<br />
i solved it, below is my solution</p>
<p dir="auto">Android:<br />
i had find out it needed to be use QCoreApplication.<br />
so, i create  thread on android for it.</p>
<p dir="auto">Windows:<br />
you need to use same mode(debug or release) when you build your lib</p>
<p dir="auto">e.g.<br />
you use qxmpp, and build qxmpp in debug, you have to build your own project in debug when you use qxmpp.</p>
]]></description><link>https://forum.qt.io/post/226380</link><guid isPermaLink="true">https://forum.qt.io/post/226380</guid><dc:creator><![CDATA[love8879201]]></dc:creator><pubDate>Thu, 03 Dec 2015 09:51:36 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp) on Mon, 10 Feb 2014 10:31:19 GMT]]></title><description><![CDATA[<p dir="auto">On PC and on laptop I have Win7.<br />
Qt 5.1.1</p>
<p dir="auto">In constructor:<br />
@<br />
userClient=new QXmppCLient();<br />
connect(userClient,SIGNAL(error(QXmppClient::Error)),this,SLOT(getError(QXmppClient::error)));<br />
@</p>
<p dir="auto">in on_pbConnect_clicked():<br />
@<br />
QXmppConfiguration config;</p>
<p dir="auto">config.setUser(userName);<br />
config.setPassword(password);<br />
config.setHost(serverAddress);<br />
userClient-&gt;connectToServer(config);<br />
@<br />
userName, password, serverAddres (as IP address) I get from text fields.<br />
in getError:<br />
@<br />
if(e==QXmppClient::SocketError) ui-&gt;teMessage-&gt;append("Socket error");<br />
else if(e==QXmppClient::KeepAliveError) ui-&gt;teMessage-&gt;append("Keep Alive Error");<br />
else if (e==QXmppClient::XmppStreamError) ui-&gt;teMessage-&gt;append("Stream Error");<br />
else if(e==QXmppClient::NoError) ui-&gt;teMessage-&gt;append("No error");<br />
@</p>
<p dir="auto">I don't get any error while debugging or compiling. I can't connect to server. Before I add getError(QXmppClient::Error e) method in application output I got an information that "QDnsLookup requires a QCoreApplication". Now in my app in teMessage field I get that this is socket fault (SocketError).</p>
]]></description><link>https://forum.qt.io/post/214247</link><guid isPermaLink="true">https://forum.qt.io/post/214247</guid><dc:creator><![CDATA[never_ever]]></dc:creator><pubDate>Mon, 10 Feb 2014 10:31:19 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp) on Mon, 10 Feb 2014 09:42:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Without more information it will be difficult to help you. What version of Qt are you using on what OS ?</p>
<p dir="auto">What error are you getting ?</p>
]]></description><link>https://forum.qt.io/post/214237</link><guid isPermaLink="true">https://forum.qt.io/post/214237</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 10 Feb 2014 09:42:59 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp) on Mon, 10 Feb 2014 08:43:37 GMT]]></title><description><![CDATA[<p dir="auto">Now I write some code for check error (using error signal for QXmppClient).<br />
I get socket  error, but as I mentioned it happens only on computer where is virtual machine, on my computer it works fine.</p>
]]></description><link>https://forum.qt.io/post/214232</link><guid isPermaLink="true">https://forum.qt.io/post/214232</guid><dc:creator><![CDATA[never_ever]]></dc:creator><pubDate>Mon, 10 Feb 2014 08:43:37 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] &quot;QDnsLookup requires a QCoreApplication&quot; - app output (qxmpp) on Mon, 10 Feb 2014 08:04:55 GMT]]></title><description><![CDATA[<p dir="auto">I should also mention, that on PC server is running on virtual machine, and on other computer it isn't on virtual machine.</p>
]]></description><link>https://forum.qt.io/post/214231</link><guid isPermaLink="true">https://forum.qt.io/post/214231</guid><dc:creator><![CDATA[never_ever]]></dc:creator><pubDate>Mon, 10 Feb 2014 08:04:55 GMT</pubDate></item></channel></rss>