Details
-
Bug
-
Resolution: Won't Do
-
Not Evaluated
-
None
-
Qt Creator 4.10.0
-
None
Description
I have a project with .pro file for qmake support and also CMakeLists.txt for cmake support.
In project's .pro file, if I specify DESTDIR variable option then I can find the built binary in the specified DESTDIR path AND also the Executable and Working directory paths in Run Settings are set to the same as DESTDIR path by default. Which is correct as I would expect.
Now for CMake, if I specify install (TARGETS ... RUNTIME DESTINATION ... ) then I do find built binaries getting installed in the desired path BUT the Executable and Working directory paths in Run Settings still point to the binary inside "default build" folder and not to where I installed the target, which I find incorrect.