Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.5.0
-
Windows seven service pack 1
Compiler : Desktop Qt 5.9.2 MinGW 32bit
Project directory : C:\Users\Serge\Documents\Projets Qt
Initial default build directory : c:/Users/Serge/Documents/Projets Qt/build-%\{CurrentProject:Name}-%\{CurrentKit:FileSystemName}-%\{CurrentBuild:Name}
Changed default build directory : c:/Users/Serge/Documents/Build Projets Qt/build-%\{CurrentProject:Name}-%\{CurrentKit:FileSystemName}-%\{CurrentBuild:Name}
Windows: reproduced, Linux: not reproduced
For paolo who helped me, no problem for him using Linux.
thread in stackoverflow here : [https://stackoverflow.com/questions/48163857/ctrl-r-do-not-run-when-the-build-directory-has-been-changed/48164191?noredirect=1#comment83318875_48164191]
All tests in the chat have been conducted on a simple "hello world" projectWindows seven service pack 1 Compiler : Desktop Qt 5.9.2 MinGW 32bit Project directory : C:\Users\Serge\Documents\Projets Qt Initial default build directory : c:/Users/Serge/Documents/Projets Qt/build-%\{CurrentProject:Name}-%\{CurrentKit:FileSystemName}-%\{CurrentBuild:Name} Changed default build directory : c:/Users/Serge/Documents/Build Projets Qt/build-%\{CurrentProject:Name}-%\{CurrentKit:FileSystemName}-%\{CurrentBuild:Name} Windows: reproduced, Linux: not reproduced For paolo who helped me, no problem for him using Linux. thread in stackoverflow here : [ https://stackoverflow.com/questions/48163857/ctrl-r-do-not-run-when-the-build-directory-has-been-changed/48164191?noredirect=1#comment83318875_48164191 ] All tests in the chat have been conducted on a simple "hello world" project
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
- duplicates
-
QTCREATORBUG-231 Creator should know when to rerun qmake
- Closed