<?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 show ui for  blocking file read operation over i2c write function call ?]]></title><description><![CDATA[<p dir="auto">i am executing command from file over i2c using write function call. but this file is to big so it take time so i have to show ui for  process  execution percentage wise. how to do this thing in qt. my i2c write operation for file execution is blocking process. so for this blocking process how to show ui which show process  execution percentage wise ?</p>
]]></description><link>https://forum.qt.io/topic/126979/how-to-show-ui-for-blocking-file-read-operation-over-i2c-write-function-call</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Sep 2026 10:04:42 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/126979.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 May 2021 12:35:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to show ui for  blocking file read operation over i2c write function call ? on Tue, 25 May 2021 12:50:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qt-embedded-developer">@<bdi>Qt-embedded-developer</bdi></a> Move file writing in a thread, so the main (GUI) thread is not blocked while writing the file.<br />
To show the progress see <a href="https://doc.qt.io/qt-5/qprogressdialog.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qprogressdialog.html</a> - emit a signal from the writing thread every-time you want to update the progress and connect a slot to that signal where you update the QProgressBar.</p>
]]></description><link>https://forum.qt.io/post/661488</link><guid isPermaLink="true">https://forum.qt.io/post/661488</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 25 May 2021 12:50:13 GMT</pubDate></item></channel></rss>