Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

Error while compiling QT program in Visual Studio 2015 com edn.

$
0
0

I get the following error:

1>------ Build started: Project: analogclock, Configuration: Debug Win32 ------
1>  Generate moc_predefs.h
1>  Reading Qt configuration (C:\Qt\Qt5.8.0\5.8\msvc2015\bin\qmake.exe)
1>C:\Users\Dan\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error : The source file for this compilation can be found at: "C:\Users\Dan\AppData\Local\Temp\a7b97cf6-8bae-46c1-a641-e713095be07e.txt"
1>C:\Users\Dan\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB3758: An error has occurred during compilation. c:\Users\Dan\AppData\Local\Temp\zfktvjfl.0.cs(88,26) : error CS1061: 'System.Collections.Generic.IEnumerable<string>' does not contain a definition for 'ToHashSet' and no extension method 'ToHashSet' accepting a first argument of type 'System.Collections.Generic.IEnumerable<string>' could be found (are you missing a using directive or an assembly reference?)
1>C:\Users\Dan\AppData\Local\QtMsBuild\qt_vars.targets(246,5): error MSB4036: The "GetVarsFromMakefile" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files\MSBuild\14.0\bin" directory.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Please give me solution to this problem


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>