<?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][Moved] Can not use ioctl in Qt 4]]></title><description><![CDATA[<p dir="auto">Hi all. Trying to call  <em>ioctl</em> function in Qt, Receive the error message <em>ioctl not declared in this</em> scope. Searched for  ioctl in include directory  - nothing, as well as iostl.h. Any advises. Thanks</p>
]]></description><link>https://forum.qt.io/topic/11987/solved-moved-can-not-use-ioctl-in-qt-4</link><generator>RSS for Node</generator><lastBuildDate>Wed, 17 Jun 2026 22:59:02 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/11987.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Dec 2011 03:54:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved][Moved] Can not use ioctl in Qt 4 on Thu, 08 Dec 2011 09:27:26 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. It's ok now.</p>
]]></description><link>https://forum.qt.io/post/119695</link><guid isPermaLink="true">https://forum.qt.io/post/119695</guid><dc:creator><![CDATA[vkonstantinov]]></dc:creator><pubDate>Thu, 08 Dec 2011 09:27:26 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved][Moved] Can not use ioctl in Qt 4 on Wed, 07 Dec 2011 11:53:19 GMT]]></title><description><![CDATA[<p dir="auto">I moved this to the C++ Gurus forum, as it has absolutely nothing to do with Qt. This is a pure C/C++ problem.</p>
<p dir="auto">try as the man pages ("Linux":<a href="http://linux.die.net/man/2/ioctl" target="_blank" rel="noopener noreferrer nofollow ugc">http://linux.die.net/man/2/ioctl</a>, "FreeBSD":<a href="http://www.freebsd.org/cgi/man.cgi?query=ioctl&amp;sektion=2" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.freebsd.org/cgi/man.cgi?query=ioctl&amp;sektion=2</a>) suggest:</p>
<p dir="auto">@<br />
#include &lt;sys/ioctl.h&gt;<br />
@</p>
]]></description><link>https://forum.qt.io/post/119595</link><guid isPermaLink="true">https://forum.qt.io/post/119595</guid><dc:creator><![CDATA[goetz]]></dc:creator><pubDate>Wed, 07 Dec 2011 11:53:19 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved][Moved] Can not use ioctl in Qt 4 on Wed, 07 Dec 2011 11:07:50 GMT]]></title><description><![CDATA[<p dir="auto">Yes, <em>ioctl.h</em> could not be found. It is <em>fcntl.h</em> but as far as i understand it is for <em>read / write</em> fuctions</p>
]]></description><link>https://forum.qt.io/post/119585</link><guid isPermaLink="true">https://forum.qt.io/post/119585</guid><dc:creator><![CDATA[vkonstantinov]]></dc:creator><pubDate>Wed, 07 Dec 2011 11:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved][Moved] Can not use ioctl in Qt 4 on Wed, 07 Dec 2011 10:52:44 GMT]]></title><description><![CDATA[<p dir="auto">Do you include the right headers?</p>
]]></description><link>https://forum.qt.io/post/119583</link><guid isPermaLink="true">https://forum.qt.io/post/119583</guid><dc:creator><![CDATA[tobias.hunger]]></dc:creator><pubDate>Wed, 07 Dec 2011 10:52:44 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved][Moved] Can not use ioctl in Qt 4 on Wed, 07 Dec 2011 04:26:49 GMT]]></title><description><![CDATA[<p dir="auto">The task is to read/write data to tape, to provide some manimulation with tape such as  write TM, go over TM, etc. In CGG i used ioctl function.</p>
]]></description><link>https://forum.qt.io/post/119514</link><guid isPermaLink="true">https://forum.qt.io/post/119514</guid><dc:creator><![CDATA[vkonstantinov]]></dc:creator><pubDate>Wed, 07 Dec 2011 04:26:49 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved][Moved] Can not use ioctl in Qt 4 on Wed, 07 Dec 2011 04:20:00 GMT]]></title><description><![CDATA[<p dir="auto">What has that to do with Qt exactly? Could you double check your toolchain?</p>
]]></description><link>https://forum.qt.io/post/119513</link><guid isPermaLink="true">https://forum.qt.io/post/119513</guid><dc:creator><![CDATA[dangelog]]></dc:creator><pubDate>Wed, 07 Dec 2011 04:20:00 GMT</pubDate></item></channel></rss>