<?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[Recent Qt Creator: scanf still doesn&#x27;t work]]></title><description><![CDATA[<p dir="auto">I am a teacher educating C/C++. For this we use Qt Creator under Windows (with mingw). We mostly deal with console projects (c and c++, without qt). There is one reason we still stick to an old version 5.11.1 of Qt Creator. In newer versions, as a default, the scanf command does not work. It doesn't wait for the input, it just falls through. The problem is that stdin and stdout are routed to the integrated output window. Only if you check a rather buried option "run in terminal", then it works. The problem is that you have to do this for each project and for each student. It was much better in old versions where it opened a new terminal by default.<br />
As I have tried the most recent stable version today, and the problem still remains: Is there a solution to this problem that works globally (e.g. a config file)?</p>
<p dir="auto">Best regards<br />
Johannes</p>
]]></description><link>https://forum.qt.io/topic/158570/recent-qt-creator-scanf-still-doesn-t-work</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 00:06:57 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/158570.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Sep 2024 14:49:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Recent Qt Creator: scanf still doesn&#x27;t work on Tue, 03 Mar 2026 06:11:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/taupter">@<bdi>Taupter</bdi></a> Have you selected Project &gt; Run Settings &gt; Run in Terminal? That is a per-project setting.</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.qt.io/post/836727</link><guid isPermaLink="true">https://forum.qt.io/post/836727</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Tue, 03 Mar 2026 06:11:56 GMT</pubDate></item><item><title><![CDATA[Reply to Recent Qt Creator: scanf still doesn&#x27;t work on Mon, 02 Mar 2026 23:59:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aha_1980">@<bdi>aha_1980</bdi></a>  as of Qt Creator 18.0.2, the Preferences &gt; Terminal &gt; "Use internal terminal" checkbox is ignored. No matter how it is selected, the code is run in "Application Output" window.<br />
Tested on Windows and macOS.</p>
]]></description><link>https://forum.qt.io/post/836723</link><guid isPermaLink="true">https://forum.qt.io/post/836723</guid><dc:creator><![CDATA[Taupter]]></dc:creator><pubDate>Mon, 02 Mar 2026 23:59:18 GMT</pubDate></item><item><title><![CDATA[Reply to Recent Qt Creator: scanf still doesn&#x27;t work on Tue, 24 Sep 2024 09:34:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aha_1980">@<bdi>aha_1980</bdi></a> Thanks very much, that indeed was it. I didn't see the Terminal option, because you have to scroll down for it to appear.</p>
]]></description><link>https://forum.qt.io/post/810466</link><guid isPermaLink="true">https://forum.qt.io/post/810466</guid><dc:creator><![CDATA[sw_johannes]]></dc:creator><pubDate>Tue, 24 Sep 2024 09:34:05 GMT</pubDate></item><item><title><![CDATA[Reply to Recent Qt Creator: scanf still doesn&#x27;t work on Tue, 10 Sep 2024 11:05:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sw_johannes">@<bdi>sw_johannes</bdi></a> Did you try adding <code>CONFIG += cmdline</code> to your .pro file?</p>
]]></description><link>https://forum.qt.io/post/809164</link><guid isPermaLink="true">https://forum.qt.io/post/809164</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Tue, 10 Sep 2024 11:05:45 GMT</pubDate></item><item><title><![CDATA[Reply to Recent Qt Creator: scanf still doesn&#x27;t work on Mon, 09 Sep 2024 19:29:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sw_johannes">@<bdi>sw_johannes</bdi></a> Have you tried <em>unchecking</em> Edit &gt; Preferences &gt; Terminal &gt; "Use internal terminal"?</p>
<p dir="auto">That should always open an external terminal window whenever running a console application.</p>
<p dir="auto">And if you have a minimal example that does not work with the internal terminal (from you description, it sounds like that) I would also suggest to report the problem to <a href="http://bugreports.qt.io" target="_blank" rel="noopener noreferrer nofollow ugc">bugreports.qt.io</a> (and please provide a link to the report here, thanks).</p>
]]></description><link>https://forum.qt.io/post/809111</link><guid isPermaLink="true">https://forum.qt.io/post/809111</guid><dc:creator><![CDATA[aha_1980]]></dc:creator><pubDate>Mon, 09 Sep 2024 19:29:05 GMT</pubDate></item><item><title><![CDATA[Reply to Recent Qt Creator: scanf still doesn&#x27;t work on Mon, 09 Sep 2024 10:16:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vronin">@<bdi>VRonin</bdi></a> qmake</p>
]]></description><link>https://forum.qt.io/post/809050</link><guid isPermaLink="true">https://forum.qt.io/post/809050</guid><dc:creator><![CDATA[sw_johannes]]></dc:creator><pubDate>Mon, 09 Sep 2024 10:16:14 GMT</pubDate></item><item><title><![CDATA[Reply to Recent Qt Creator: scanf still doesn&#x27;t work on Thu, 05 Sep 2024 15:01:30 GMT]]></title><description><![CDATA[<p dir="auto">What build system do you use? qmake or CMake?</p>
]]></description><link>https://forum.qt.io/post/808816</link><guid isPermaLink="true">https://forum.qt.io/post/808816</guid><dc:creator><![CDATA[VRonin]]></dc:creator><pubDate>Thu, 05 Sep 2024 15:01:30 GMT</pubDate></item></channel></rss>