<?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[Last modified date of file in Qt resource system]]></title><description><![CDATA[<p dir="auto">Normally you can get last modified date easily with QFileInfo::lastModified().<br />
However this doesn't work when a file inside Qt's resource system is used</p>
<pre><code>@QFileInfo resourceInfo("://resource.txt");
qDebug() &lt;&lt; resourceInfo.lastModified().toString() // returns ""@
</code></pre>
<p dir="auto">Is there a possibility to find out the last modified date without temporarily copying the file from the resources to the file system?</p>
]]></description><link>https://forum.qt.io/topic/48008/last-modified-date-of-file-in-qt-resource-system</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 02:58:51 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/48008.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Nov 2014 16:48:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Last modified date of file in Qt resource system on Mon, 10 Nov 2014 22:10:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">AFAIK no, the files in the resources are compiled in your application so these informations are out of your OS access. Out of curiosity, why would you need that ?</p>
]]></description><link>https://forum.qt.io/post/250920</link><guid isPermaLink="true">https://forum.qt.io/post/250920</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 10 Nov 2014 22:10:00 GMT</pubDate></item></channel></rss>