aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Costa <miguel.costa@qt.io>2019-01-08 11:53:50 +0100
committerMiguel Costa <miguel.costa@qt.io>2019-01-08 15:50:18 +0000
commit5dec438f80ee90ae0b50cb210685fb27fb1960bf (patch)
tree9a0311a38c27cd5a66bb80be5091dad0435cadd9
parent82a8164b6572578d125fa52d8474e7af40454fc6 (diff)
Fix dynamic source properties not inherited
Fixed a bug in Qt/MSBuild that prevented dynamic C++ sources to inherit the properties defined in the source item from which they were generated. This bug caused failures when building projects containing QRC files and using precompiled headers. Task-number: QTVSADDINBUG-594 Change-Id: I7bfc402bc7cfd0443aa0ceda69150ba4de47d806 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--src/qtmsbuild/qt_globals.targets2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtmsbuild/qt_globals.targets b/src/qtmsbuild/qt_globals.targets
index 2b210b75..45850b64 100644
--- a/src/qtmsbuild/qt_globals.targets
+++ b/src/qtmsbuild/qt_globals.targets
@@ -307,7 +307,7 @@
// Add dynamic C++ sources to build
// -->
<ItemGroup>
- <ClCompile Include="%(QtWorkResult.ClCompile)"
+ <ClCompile Include="@(QtWorkResult->'%(ClCompile)')"
Condition="'%(QtWorkResult.ExitCode)' == '0' AND '%(QtWorkResult.ClCompile)' != ''"/>
</ItemGroup>