Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-23470

"Run in terminal" does not use terminal set in "Options... -> Environment" on remote executables

    XMLWordPrintable

Details

    • Linux/X11
    • e8a5dcee4921f5c4d40279fae01345f2a3a378fe (qt-creator/qt-creator/4.11)

    Description

      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).

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-23470
        # Subject Branch Project Status CR V

        Activity

          People

            kandeler Christian Kandeler
            carstenmikkelsen Carsten Mikkelsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes