Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 4.14.0
-
None
Description
This problem has been around for 11 years and it is not noticed and does not want to be fixed, just like problem https://bugreports.qt.io/browse/QTCREATORBUG-316
If you place the project and the source code in /home/user/qt/project on Linux, then the object files will be placed in the path /home/user/qt/project. The object and source files will be placed in the same place. This is very inconvenient.
To solve this problem, there is a "shadow build"checkbox. If you check this box, the object files will be located at the path /home/user/qt/project/build-project-Debug. Everything is fine, the object files are separated from the source code.
Go to windows. If you place the project and the source code in c:/work/qt/project on Windos, then the object files will be placed in the path c:/work/qt/project/Release or c:/work/qt/project/Dedug.
The source code and object files are placed separately from each other. The object files are placed separately from the source code. If you check the box "shadow build", then the object files are placed OUTSIDE the project folder, for example, here C:\work\Qt\build-qwt-Desktop_Qt_5_14_2_MinGW_64_bit-Debug.
Why are object files placed OUTSIDE the project folder by default in Windows?
Why does the "shadow build" checkbox exist? Is it possible in Linux to do as in Windows, place all object files in the folders /home/user/qt/project/Debug or /home/user/qt/project/Release and remove the "shadow build" checkbox?