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

The process cannot access the file moc.read.1u.tlog because it is being used by another process

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.7.1
    • 2.5.2, 2.6.0 (rev.07), 2.7.0
    • Build-time integration
    • None
    • Windows
    • 60a69e7faa8c98e4ba75dece29d95f270abbe3b0

    Description

      When using Visual Studio 16.8.3 or 16.8.4, with Qt addins 2.6.x or 2.7.0.0, I have regularly an error with multiple process which seem to access to the same log file "moc.read.1u.tlog".

      This error is also present in the last build 2.7.0.0 (generate after this bug fix QTVSADDINBUG-827)

      Here an exemple of the error:

      C:\Users\username\AppData\Local\QtMsBuild\qt_globals.targets(368,5): error MSB3491: Could not write lines to file "D:\b63dd3bbf6a8743c\compilation\Debug_x64\RshProject\RshProject.tlog\moc.read.1u.tlog". The process cannot access the file 'D:\b63dd3bbf6a8743c\compilation\Debug_x64\RshProject\RshProject.tlog\moc.read.1u.tlog' because it is being used by another process.
      Done building project "RshProject.vcxproj" -- FAILED.
      

      Not that option "Parallel Process" is set to "Yes" on all Qt task (moc, ui, qrc). It's perhaps the source of this error.

      Attachments

        Issue Links

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

          Activity

            People

              mecfc Miguel Costa
              francoisj Francois JEAN
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes