aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiguel Costa <miguel.costa@qt.io>2021-08-05 10:43:34 +0200
committerMiguel Costa <miguel.costa@qt.io>2021-08-09 13:01:37 +0000
commitac101910a367b3c34b3fb12ac758dd3d583fa62a (patch)
tree4001b2c9069dcf44f9dc2877a4eb42fed8dc7baa /src
parentf461d068d96ba6f78b6fda77b14c46476cfe73ff (diff)
Fix concurrency issues
Fixed concurrency issues in Qt/MSBuild involving references to non-Qt projects. When building from the command line, references would be built both in the inner and outer builds of Qt/MSBuild projects. This change disables the building of referenced projects during the Qt/MSBuild inner build. Fixes: QTVSADDINBUG-916 Change-Id: I01ccead3d1d954dfd1ce753319992e3c9b51969d Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/qtmsbuild/QtMsBuild/qt_globals.targets2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qtmsbuild/QtMsBuild/qt_globals.targets b/src/qtmsbuild/QtMsBuild/qt_globals.targets
index 8b1c5ffc..4e2b0a5d 100644
--- a/src/qtmsbuild/QtMsBuild/qt_globals.targets
+++ b/src/qtmsbuild/QtMsBuild/qt_globals.targets
@@ -542,7 +542,7 @@
<MSBuild
Projects="$(MSBuildProjectFullPath)"
Targets="Build"
- Properties="QtInnerBuild=$(MSBuildProjectFullPath);RandomFileName=$(RandomFileName)">
+ Properties="QtInnerBuild=$(MSBuildProjectFullPath);RandomFileName=$(RandomFileName);BuildProjectReferences=false">
</MSBuild>
<OnError ExecuteTargets="QtLeaveCriticalSection_OnError"/>
</Target>