<?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[QDataStream seems not flushing after QFile seek]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I am reading a file using a QDataStream on a QFile. Everything seems fine the first time, but when I try to get back to a certain position using seek, it does it except the fact that I am reading back the same data. It seems that the QDataStream was not flushed and the data are still there.<br />
I see that there is no Flush function on a QDataStream, so I am wondering how I can do it, and of course if my problem comes from it ?</p>
<p dir="auto">Best</p>
]]></description><link>https://forum.qt.io/topic/100795/qdatastream-seems-not-flushing-after-qfile-seek</link><generator>RSS for Node</generator><lastBuildDate>Tue, 22 Sep 2026 15:51:42 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/100795.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 17 Mar 2019 05:51:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QDataStream seems not flushing after QFile seek on Sun, 17 Mar 2019 21:21:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Can you show the code you are using to read your file and seek ?</p>
]]></description><link>https://forum.qt.io/post/517922</link><guid isPermaLink="true">https://forum.qt.io/post/517922</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sun, 17 Mar 2019 21:21:02 GMT</pubDate></item></channel></rss>