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

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

      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.

        1. Solution1.zip
          14 kB
          Miguel Costa
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes