<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello, <br>
    </p>
    <p>I am working with QtCreator and was wondering if there is a way
      to switch between branches without this causing complete rebuilds,
      despite of separate build directories?<br>
    </p>
    <p>For now, I am using <i>git worktree</i>, so I have separate
      QtCreator projects for branches. However, I would prefer to stay
      in one project, because I prefer just keeping track of which
      branch I am on to keeping track of which <br>
    </p>
    <p>project a given file belongs to. Thanks for ideas. Here is my
      stackoverflow question, where somebody commented that the rebuilds
      have to do with Qt's MOC and CMake, not with QtCreator:</p>
    <p><a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/79586265/how-to-prevent-unnecessary-rebuilds-caused-by-qts-moc-in-cmake-project-when-swi/79587106#79587106">https://stackoverflow.com/questions/79586265/how-to-prevent-unnecessary-rebuilds-caused-by-qts-moc-in-cmake-project-when-swi/79587106#79587106</a>
      <br>
    </p>
    <p><br>
    </p>
    <p>best wishes<br>
    </p>
    <div class="moz-signature">mit freundlichen Grüßen,<br>
      Moritz Hackenberg<br>
      <br>
      <i style="font-size:14px"><a class="moz-txt-link-abbreviated" href="http://www.dev-gis.com">www.dev-gis.com</a><br>
        +49 157 337 364 53<br>
      </i></div>
  </body>
</html>