Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
None
-
-
6c2016677 (master)
Description
Reedit:
Now the default working directory is following the build directory of build config.
For me, it's inconvenient most of the time. I prefer to set a fixed working directory.
So the qmake variable "DESTDIR" is used in most my project.
But DESTDIR will set a same directory for build-outputs, then cause some inconvenient build & run issues, such as same-name conflict, time detection of Make, error linking/running between different build config…
Can we add a setting 'Default working directory', just like the existing 'Default build directory'?
If possible, it will be convenient for test between different build config or for some cross-platform/cross-kit solutions.
For example, I would like to set this setting to value '../bin'.
I would create this bin directory (by manually or some automatic manner).
Then I put some data file into the bin directory.
Then every new build config's working directory should automatically set to the same bin directory
Finally I will have one fixed working directory to assess one set of data file, with different app built from different config, conveniently.