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

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 2.7.1 (rev.15)
    • Build-time integration
    • None
    • 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)
    • 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

            mecfc Miguel Costa
            shaoyang shaoyang feng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes