Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-57695

[vcxproj] mocables are always rebuilt even if nothing changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0 RC
    • Fix Version/s: 5.8.0
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      MSVC 2015 Update 3, MSVC 2017 RC
    • Commits:
      5fc2337d740963d019a1e31960a4d12dfec36ea9 be00e37bb35eadcb990b1b9a71b668c83cb89eaf

      Description

      Using snapshot http://download.qt.io/snapshots/qt/5.8/5.8.0-rc/689/

      moc_predefs.h is unconditionally regenerated every time a vcxproj project is built. Moc custom build steps have a dependency on moc_predefs.h. This means that all moc-generated files are regenerated and rebuilt every time a project is built, even if no sources or headers have been changed since the last build. This is a significant impediment to the edit-build-debug cycle.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              oktalist Mat Sutcliffe
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes