<?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[QSettings]]></title><description><![CDATA[<p dir="auto">Hi friends,</p>
<p dir="auto">I am using qt 5.15.2 in raspberry pi .<br />
I am loading and Saving values using QSettings ini file but when application is running the QSettings file is locking what will be the issue any solutions.</p>
]]></description><link>https://forum.qt.io/topic/136242/qsettings</link><generator>RSS for Node</generator><lastBuildDate>Wed, 02 Sep 2026 11:10:48 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/136242.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 03 May 2022 05:18:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QSettings on Tue, 03 May 2022 05:44:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/satyanarayana143">@<bdi>satyanarayana143</bdi></a> Did you try what I suggested?</p>
]]></description><link>https://forum.qt.io/post/712660</link><guid isPermaLink="true">https://forum.qt.io/post/712660</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 03 May 2022 05:44:11 GMT</pubDate></item><item><title><![CDATA[Reply to QSettings on Tue, 03 May 2022 05:43:02 GMT]]></title><description><![CDATA[<p dir="auto">after closing the application it is not going that is the problem</p>
]]></description><link>https://forum.qt.io/post/712659</link><guid isPermaLink="true">https://forum.qt.io/post/712659</guid><dc:creator><![CDATA[satyanarayana143]]></dc:creator><pubDate>Tue, 03 May 2022 05:43:02 GMT</pubDate></item><item><title><![CDATA[Reply to QSettings on Tue, 03 May 2022 05:28:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/satyanarayana143">@<bdi>satyanarayana143</bdi></a> said in <a href="/post/712654">QSettings</a>:</p>
<blockquote>
<p dir="auto">but  Creating another ini file with  ini.lock  when application running</p>
</blockquote>
<p dir="auto">What is the problem with that? As soon as you close your settings file ini.lock should disappear.</p>
<p dir="auto">If you read documentation (<a href="https://doc.qt.io/qt-5/qsettings.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qsettings.html</a>) you will find:<br />
"For QSettings::IniFormat, it uses advisory file locking and a smart merging algorithm to ensure data integrity.".</p>
<p dir="auto">If you don't want this try to call <a href="https://doc.qt.io/qt-5/qsettings.html#setAtomicSyncRequired" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qsettings.html#setAtomicSyncRequired</a> with false as parameter.</p>
]]></description><link>https://forum.qt.io/post/712655</link><guid isPermaLink="true">https://forum.qt.io/post/712655</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 03 May 2022 05:28:41 GMT</pubDate></item><item><title><![CDATA[Reply to QSettings on Tue, 03 May 2022 05:23:33 GMT]]></title><description><![CDATA[<p dir="auto">Application is running and ini file available in application folder but  Creating another ini file with  ini.lock  when application running.</p>
]]></description><link>https://forum.qt.io/post/712654</link><guid isPermaLink="true">https://forum.qt.io/post/712654</guid><dc:creator><![CDATA[satyanarayana143]]></dc:creator><pubDate>Tue, 03 May 2022 05:23:33 GMT</pubDate></item><item><title><![CDATA[Reply to QSettings on Tue, 03 May 2022 05:21:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/satyanarayana143">@<bdi>satyanarayana143</bdi></a> said in <a href="/post/712652">QSettings</a>:</p>
<blockquote>
<p dir="auto">QSettings file is locking</p>
</blockquote>
<p dir="auto">In what way is it locking? What happens? What does not work?</p>
]]></description><link>https://forum.qt.io/post/712653</link><guid isPermaLink="true">https://forum.qt.io/post/712653</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 03 May 2022 05:21:02 GMT</pubDate></item></channel></rss>