<?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[QHostInfo::localHostName() never give my hostname (archlinux)]]></title><description><![CDATA[<p dir="auto">why<br />
qDebug() &lt;&lt; QHostInfo::localHostName();<br />
not show my hostname ?</p>
<p dir="auto">From terminal, command "hostname" give me my hostname...<br />
what's happen ? what i forget or misunderstand  about QHostInfo ?<br />
If QHostLocalHostName::localHostName() not show hostname fromlocalhost, what is the interest of this function ?</p>
]]></description><link>https://forum.qt.io/topic/63106/qhostinfo-localhostname-never-give-my-hostname-archlinux</link><generator>RSS for Node</generator><lastBuildDate>Thu, 07 May 2026 06:13:26 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/63106.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Jan 2016 20:30:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QHostInfo::localHostName() never give my hostname (archlinux) on Fri, 22 Jan 2016 16:20:52 GMT]]></title><description><![CDATA[<p dir="auto">when i do an application just for that, it worked. Then now, suddenly (no do nothing more), in my application, it works also.<br />
strange... i don't know why but... ok... now it works.<br />
thank you.</p>
]]></description><link>https://forum.qt.io/post/308942</link><guid isPermaLink="true">https://forum.qt.io/post/308942</guid><dc:creator><![CDATA[jerome_isAviable]]></dc:creator><pubDate>Fri, 22 Jan 2016 16:20:52 GMT</pubDate></item><item><title><![CDATA[Reply to QHostInfo::localHostName() never give my hostname (archlinux) on Fri, 22 Jan 2016 00:54:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sgaist">@<bdi>SGaist</bdi></a><br />
os is in the title: archlinux (and Qt-5.5.1-9)<br />
i get exactly:<br />
QHostAddress("")</p>
<p dir="auto">but my machine name get by command "hostname" is exactly:<br />
archlinux-jerome</p>
]]></description><link>https://forum.qt.io/post/308790</link><guid isPermaLink="true">https://forum.qt.io/post/308790</guid><dc:creator><![CDATA[jerome_isAviable]]></dc:creator><pubDate>Fri, 22 Jan 2016 00:54:01 GMT</pubDate></item><item><title><![CDATA[Reply to QHostInfo::localHostName() never give my hostname (archlinux) on Thu, 21 Jan 2016 22:37:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">What do you get and what do you expect ?</p>
<p dir="auto">On what OS ?</p>
]]></description><link>https://forum.qt.io/post/308762</link><guid isPermaLink="true">https://forum.qt.io/post/308762</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Thu, 21 Jan 2016 22:37:37 GMT</pubDate></item></channel></rss>