Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
2.3.4
-
None
-
Windows x64 Qt 5.14 Visual Studio 2019, Qt plugin
-
-
Error cannot be reproduced. 5.14.1 compiles project correctly.
Description
5.14 produces compile errors using the Visual Studio Qt plugin. 15.13.2 work correctly. I have unstalled 5.13.2 and deleted the Qt directory.
Below is the error I am getting. All Qt projects fail to compile for me using 5.14.
//// 1>Generate moc_predefs.h 1>Reading Qt configuration (C:\Qt\5.14.0\msvc2017_64\bin\qmake.exe) 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: The "GetVarsFromMakefile" task failed unexpectedly. 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: System.ArgumentException: An item with the same key has already been added. 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector) 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: at InlineCode.GetVarsFromMakefile.Execute() in c:\Users\drogers\AppData\Local\Temp\nvx24141.0.cs:line 71 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() 1>C:\Users\<user>\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()