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

Projects are built again even if no change (Regression since VS 16.8)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 2.6.0 (rev.07)
    • Fix Version/s: 2.7.0
    • Component/s: Qt/MSBuild
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      74b8c8a779e8c2cc0d609e4f30c9cc4470c318bf

      Description

      Since VS 16.8, when I press "build solution" after a successful build it builds again the project, not the .cpp files but moc, rcc,... target build are rerun. It converges after a certain a number of hits on "build solution" which depends on the number of Qt projects in the solution.

      Please find attached a simple solution containing 2 projects created with default options from the wizard from the addin. If you hit "build solution" it builds the library then the application. If you hit "build solution" again, the library is built again. Then a third hit won't trigger a build this time.

      To reproduce again, clean the solution.

      Expected behavior:

      The second hit on "build solution" shouldn't trigger a build if the previous one was successful.

        Attachments

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

          Activity

            People

            Assignee:
            mecfc Miguel Costa
            Reporter:
            tony.riviere Tony Riviere
            Votes:
            4 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes