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

Qt_INCLUDEPATH_ includes temp folder that change with each build. This forces VS to rebuild entire project

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 2.10.1 (rev.02)
    • Build-time integration
    • None
    • Visual Studio 2022, QT 6.3, Windows 10
    • Windows
    • 0851c7284 (dev)

    Description

      QVST automatically adds various directories to include to the compile command line for each source. These directories include temp folders with randomized names that change with each build. Thus, when even just a single cpp file is modified in the project, VS 2022 notes that the command line changed from last build, and rebuilds the entire project.

      This can be seen by switching build log verbosity to Diagnostic and noting the following message in the log:

      "All source files are not up-to-date:  command line has changed since the last build."

      Rebuilding the entire project with each minor change is a major impediment to fast iterative development. On larger projects, I'm waiting minutes to build.

       

      Attachments

        For Gerrit Dashboard: QTVSADDINBUG-1097
        # Subject Branch Project Status CR V

        Activity

          People

            mecfc Miguel Costa
            seandr Sean Draine
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes