<?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[MSVC 2022 and Qt Add In 3.5.0 causes full rebuild on _every_ file change due to forward slash in .props file]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">it seems I have no access to add comments to this bug report: <a href="https://qt-project.atlassian.net/browse/QTVSADDINBUG-1346" target="_blank" rel="noopener noreferrer nofollow ugc">https://qt-project.atlassian.net/browse/QTVSADDINBUG-1346</a></p>
<ul>
<li>MSVC 2022</li>
<li>Qt Vs Addin 3.5</li>
<li>Qt 6.8.2</li>
</ul>
<p dir="auto">In my test project whenever I change a single .cpp file, the full project rebuilds. This didn't happen with Qt Vs Addin 3.4.x</p>
<p dir="auto">The reason for me was usage of forward slashes in property files (.props). I have to use backward slashes, otherwise some sort of folder comparison fails:</p>
<p dir="auto">bad: <code>&lt;SOLUTION_DEPLOY_DIR&gt;$(SOLUTION_BUILD_DIR)_deploy/&lt;/SOLUTION_DEPLOY_DIR&gt;</code><br />
good: <code>&lt;SOLUTION_DEPLOY_DIR&gt;$(SOLUTION_BUILD_DIR)_deploy\&lt;/SOLUTION_DEPLOY_DIR&gt;</code></p>
<p dir="auto">With the forward slashes, the detailled build info shows that some sort of hash is added to qmake which forces a rebuild of that exact file (happens for every file):</p>
<pre><code>2&gt;    *** Previous command line: '/c /I"F:\mylib\BUILD64\TEST\DEBUG\QT\QMAKE\87CA77C47A214EBAB7EE1919FEF4C6A1" ...
2&gt;    *** Current  command line: '/c /I"F:\mylib\BUILD64\TEST\DEBUG\QT\QMAKE\05501C2D095D4908AE5DACE0410DF89E" ...
2&gt;    Source "someClass.cpp" doesn't match previous command line.
</code></pre>
<p dir="auto">EDIT: The .cpp file is not included from anywhere. No dependencies at compile time.</p>
]]></description><link>https://forum.qt.io/topic/165183/msvc-2022-and-qt-add-in-3.5.0-causes-full-rebuild-on-_every_-file-change-due-to-forward-slash-in-.props-file</link><generator>RSS for Node</generator><lastBuildDate>Fri, 30 Oct 2026 22:55:37 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/165183.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 16 Oct 2026 17:41:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MSVC 2022 and Qt Add In 3.5.0 causes full rebuild on _every_ file change due to forward slash in .props file on Fri, 16 Oct 2026 18:59:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi and welcome to devnet,</p>
<p dir="auto">Did you already follow this <a href="https://forum.qt.io/topic/164253/about-accessing-the-bug-report-system">pinned thread</a> about accessing the bug report system ?</p>
<p dir="auto">In between, I updated the bug report with your findings but don't hesitate to try again and add more context as needed.</p>
]]></description><link>https://forum.qt.io/post/840524</link><guid isPermaLink="true">https://forum.qt.io/post/840524</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Fri, 16 Oct 2026 18:59:21 GMT</pubDate></item></channel></rss>