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

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 2.7.0
    • 2.6.0 (rev.07)
    • Build-time integration
    • None
    • Windows
    • 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

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

        Activity

          People

            mecfc Miguel Costa
            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