Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 3.3.0, Qt Creator 4.2.0-rc1
-
Windows 7 64 bit
Windows 10 64 bit
Description
- Create a new project.
- Go to Projects mode, Run settings.
- Add a Custom Executable run configuration with executable "cmd" and arguments "/c dir".
The working directory is automatically set to "%{buildDir}". - Hover your mouse cursor over the "Working directory" edit.
A tooltip will appear showing something like:Full path: D:\Testprojekte\untitled359\%{buildDir}
- Run the custom executable.
The dir command will show data about the current directory. In my case, the directory isD:\Testprojekte\build-untitled359-32_bit_MSVC_Qt_5_4_0-Debug
The path displayed in the tooltip is wrong. It's not only that the macro wasn't expanded, it is something completely different.
The tooltip should show the right working directory, at least in an unexpanded form.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-13260 [REG 3.2.2 -> 3.3.0] Custom Executable cannot be run
- Closed
-
QTCREATORBUG-19580 Project "Build directory" doesn't handle variables properly
- Closed