Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19577

Windows:Ctrl-r and F5 do not recompile when the defaut build directory has been changed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.5.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      Description

      By default the build directory of a project is a sibling, withing the same directory than the project himself.

      To have a better organisation of my backup process, I have moved the defaut build path in a directory which is sibling of the parent directory of all my projects. The compilation default path has been updated accordingly.

      Now I only backup my projects, without the builds.

      The problem I'm facing now is about the execute key combo Ctrl-r or run key F5 for which I get the compilation progress bar, but in fact, the project is not compiled now.

      This is confirmed because the compiled files do not update within the buid directory. The new compilation files do not overwrite the previous one in the build directory. On the other hand if I remove prealably the current files before recompilation(emptying the directory), the new files are writen.

      The only way, now, to update compilation is through the menu Build-> build all. It works but without key binding and I need to launch execute after.

      If I reverse the defaut build directory to the original path, everything works again. If the defaut build directory is child of the project directory, it works too.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              hunger Tobias Hunger
              Reporter:
              kontiki kontiki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes