<?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[how to display &#x2F; update textEdit ?]]></title><description><![CDATA[<p dir="auto">The attached snippet of code runs fine, however,<br />
the Process... " blocks " the<br />
text = " hcitool  scan...  ";<br />
MWBD-&gt;ui-&gt;textEdit_3-&gt;append(text);<br />
MWBD-&gt;update();<br />
MWBD-&gt;show();</p>
<p dir="auto">hence its text (in dialog )  appears AFTER  the Process.. is finished.</p>
<p dir="auto"><strong>Is the solution to  create another "display" process prior to the Process...?</strong></p>
<p dir="auto">Yes the Process ,,,  creates new blocking process which is fine because it runs in  real time and has to finish.</p>
<pre><code>           text = " hcitool  scan...  ";
            MWBD-&gt;ui-&gt;textEdit_3-&gt;append(text);
            MWBD-&gt;update();
            MWBD-&gt;show();
            text = BTUL-&gt;ProcessCommand_Raw(" hcitool "," scan  " );
            qDebug() &lt;&lt; text;
            MWBD-&gt;ui-&gt;textEdit_3-&gt;append(text); // displays both text 
</code></pre>
]]></description><link>https://forum.qt.io/topic/152399/how-to-display-update-textedit</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 16:37:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/152399.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Nov 2023 02:08:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how to display &#x2F; update textEdit ? on Tue, 28 Nov 2023 06:22:59 GMT]]></title><description><![CDATA[<p dir="auto">@AnneRanch Either start process with a delay <code>QTimer::singleShot()</code>, or through meta object system <code>QMetaObject::invokeMethod()</code>, or move it to another thread, or let the app process events before calling your blocking code:</p>
<pre><code>qApp-&gt;processEvents();
text = BTUL-&gt;ProcessCommand_Raw(" hcitool "," scan  " );
</code></pre>
]]></description><link>https://forum.qt.io/post/781095</link><guid isPermaLink="true">https://forum.qt.io/post/781095</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Tue, 28 Nov 2023 06:22:59 GMT</pubDate></item></channel></rss>