<?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[[solved] exe has no version number -&amp;gt; even after setting VERSION in the project file]]></title><description><![CDATA[<p dir="auto">I set VERSION = 1.0.0.0 in my project-file but my executable file still has no version-number on Windows.</p>
<p dir="auto">What am I doing wrong?</p>
]]></description><link>https://forum.qt.io/topic/5986/solved-exe-has-no-version-number-gt-even-after-setting-version-in-the-project-file</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Jul 2026 22:58:49 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/5986.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 May 2011 23:27:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [solved] exe has no version number -&amp;gt; even after setting VERSION in the project file on Fri, 20 May 2011 07:35:45 GMT]]></title><description><![CDATA[<p dir="auto">The example Microsoft provided was wrong -&gt; <a href="http://msdn.microsoft.com/en-us/library/aa381058(VS.85).aspx" target="_blank" rel="noopener noreferrer nofollow ugc">http://msdn.microsoft.com/en-us/library/aa381058(VS.85).aspx</a></p>
<p dir="auto">I had to include &lt;windows.h&gt; In order to add the file-version</p>
<p dir="auto">It works now.</p>
]]></description><link>https://forum.qt.io/post/88917</link><guid isPermaLink="true">https://forum.qt.io/post/88917</guid><dc:creator><![CDATA[Hedge]]></dc:creator><pubDate>Fri, 20 May 2011 07:35:45 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] exe has no version number -&amp;gt; even after setting VERSION in the project file on Fri, 20 May 2011 07:33:29 GMT]]></title><description><![CDATA[<p dir="auto">How about try 1.0.0 instead of 1.0.0.0 ? I have no idea about the .rc file.</p>
]]></description><link>https://forum.qt.io/post/88916</link><guid isPermaLink="true">https://forum.qt.io/post/88916</guid><dc:creator><![CDATA[Chuck Gao]]></dc:creator><pubDate>Fri, 20 May 2011 07:33:29 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] exe has no version number -&amp;gt; even after setting VERSION in the project file on Fri, 20 May 2011 07:27:48 GMT]]></title><description><![CDATA[<p dir="auto">So, how do I add the fileversion in the .rc-file? I tried this but it didn't work either:</p>
<p dir="auto">@VS_VERSION_INFO VERSIONINFO<br />
FILEVERSION 1,0,0,0<br />
PRODUCTVERSION 1,0,0,0<br />
FILEFLAGSMASK 0x3fL</p>
<p dir="auto">FILEOS 0x40004L<br />
FILETYPE 0x0L<br />
FILESUBTYPE 0x0L<br />
BEGIN<br />
BLOCK "StringFileInfo"<br />
BEGIN<br />
BLOCK "040704b0"<br />
BEGIN<br />
VALUE "CompanyName", ""<br />
VALUE "FileDescription", ""<br />
VALUE "FileVersion", "1.0.0.0"<br />
VALUE "InternalName", "icon.rc"<br />
VALUE "LegalCopyright", "Copyright (C) 2011"<br />
VALUE "OriginalFilename", "icon.rc"<br />
VALUE "ProductName", "My Tool"<br />
VALUE "ProductVersion", "1.0.0.0"<br />
END<br />
END<br />
END<br />
@</p>
]]></description><link>https://forum.qt.io/post/88913</link><guid isPermaLink="true">https://forum.qt.io/post/88913</guid><dc:creator><![CDATA[Hedge]]></dc:creator><pubDate>Fri, 20 May 2011 07:27:48 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] exe has no version number -&amp;gt; even after setting VERSION in the project file on Fri, 20 May 2011 06:47:40 GMT]]></title><description><![CDATA[<p dir="auto">Moved this to tools since it is a qmake question.</p>
]]></description><link>https://forum.qt.io/post/88908</link><guid isPermaLink="true">https://forum.qt.io/post/88908</guid><dc:creator><![CDATA[tobias.hunger]]></dc:creator><pubDate>Fri, 20 May 2011 06:47:40 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] exe has no version number -&amp;gt; even after setting VERSION in the project file on Fri, 20 May 2011 05:27:18 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://stackoverflow.com/questions/1125349/how-do-i-set-the-executable-attributes-with-qmake-for-a-c-project" target="_blank" rel="noopener noreferrer nofollow ugc">http://stackoverflow.com/questions/1125349/how-do-i-set-the-executable-attributes-with-qmake-for-a-c-project</a></p>
]]></description><link>https://forum.qt.io/post/88901</link><guid isPermaLink="true">https://forum.qt.io/post/88901</guid><dc:creator><![CDATA[Franzk]]></dc:creator><pubDate>Fri, 20 May 2011 05:27:18 GMT</pubDate></item><item><title><![CDATA[Reply to [solved] exe has no version number -&amp;gt; even after setting VERSION in the project file on Fri, 20 May 2011 01:40:17 GMT]]></title><description><![CDATA[<p dir="auto">You can use QCoreApplication::setApplicationVersion ( const QString &amp; version ) :)</p>
]]></description><link>https://forum.qt.io/post/88898</link><guid isPermaLink="true">https://forum.qt.io/post/88898</guid><dc:creator><![CDATA[Chuck Gao]]></dc:creator><pubDate>Fri, 20 May 2011 01:40:17 GMT</pubDate></item></channel></rss>