Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-900

VS2019 & Qt Tool,error when build the project

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 2.7.1 (rev.15)
    • Fix Version/s: None
    • Component/s: Qt/MSBuild
    • Labels:
      None
    • Environment:
      Qt ver:5.15.2
      Qt Tool for vs2019:2.7.1 rev.15
      Win SDK:10.0.19041.0
      Platform toolset:Visual Studio 2019 (v142)
    • Platform/s:
      Windows

      Description

       

      I install qt, vs and tool, and then create a new Qt Widgets Application. Just an empty project. A problem was encountered when build the project. I tried to reinstall VS Qt WinSDK, but there are still errors.

       

       

      Error MSB6003 The task executable file "cmd.exe" specified by MSB6003 failed to run. System.IO.IOException: The function is incorrect.

      In System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
      In System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
      In System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)
      In System.IO.FileStream.Dispose(Boolean disposing)
      At System.IO.Stream.Close()
      In System.IO.StreamWriter.Dispose(Boolean disposing)
      In System.IO.TextWriter.Dispose()
      In Microsoft.Build.Tasks.Exec.CreateTemporaryBatchFile()
      At Microsoft.Build.Tasks.Exec.AddCommandLineCommands(CommandLineBuilderExtension commandLine)
      In Microsoft.Build.Tasks.ToolTaskExtension.GenerateCommandLineCommands()
      In Microsoft.Build.Utilities.ToolTask.Execute() QtWidgetsApplication1 C:\Users\fsy\AppData\Local\QtMsBuild\qt_vars.targets 74

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            mecfc Miguel Costa
            Reporter:
            shaoyang shaoyang feng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes