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

[vcxproj] mocables are always rebuilt even if nothing changed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.8.0
    • 5.8.0 RC
    • Build tools: qmake
    • None
    • MSVC 2015 Update 3, MSVC 2017 RC
    • 5fc2337d740963d019a1e31960a4d12dfec36ea9 be00e37bb35eadcb990b1b9a71b668c83cb89eaf

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes