Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
Qt Creator 4.3.0
Description
CMake supports the following:
set_target_properties(${TARGETNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY path/to/output )
RUNTIME_OUTPUT_DIRECTORY allows specifying where to generate the exe file.
Very often users want the working directory to default to wherever the exe was generated.
Without server mode, Qt Creator got this right.
With server mode, Qt Creator gets this wrong; setting the working directory on a very different location.
This is a critical issue for us for moving to 4.3 as we have several dozens of apps which are now defaulting the wrong working dir; and it's unreasonable to change them one by one.
Unfortunately, there is no way to globally disable CMake server mode