- 
    
Bug
 - 
    Resolution: Done
 - 
    
P3: Somewhat important
 - 
    Qt Creator 4.11.0
 - 
    None
 
- 
        
 - 
        e8a5dcee4921f5c4d40279fae01345f2a3a378fe (qt-creator/qt-creator/4.11)
 
When I run a run configuration that is running a remote executable, the "Run in terminal" function uses the wrong terminal emulator.
Setup steps:
- Setup a project using a "Generic Linux Device" kit
 
Under "Run configuration:"
- Press "Add..." and select "Custom Executable (on XXX)"
 - Add the path to the remote executable under "Remote executable:"
 - Check "Run in terminal"
 
In the "Tools -> Options..." window
- Select "Environment" and "System" tab
 - Under "Terminal:" pick a terminal that is not the default
 
Now run the run configuration and notice that the default terminal is used instead of the one selected in "Options... -> Environment".
If I instead run a run configuration added using "Custom Executable" with
- Executable: 
ssh
 - Command line arguments: 
-T %{Device:UserName}@%{Device:HostAddress} "/path/to/application" 
It starts in the correct terminal emulator, but now I cannot debug the application (obviously).
| For Gerrit Dashboard: QTCREATORBUG-23470 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 286696,2 | SSH device: Ensure ConsoleProcess respects terminal settings | 4.11 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |