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

"Run in Terminal" no longer works

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 18.0.0
    • Qt Creator 17.0.0
    • Terminal
    • None
    • Ubuntu 24.04
    • Linux/Wayland

      Qt Creator just updated to version 17.0.0, built on Jun 17 2025.
      Now the "Run in Terminal" feature no longer works.
      My app needs to run in a real terminal, not that fake terminal in the QtCreator bottom panel.

      By default, an app outputs text to the Application Output tab in QtCreator, which is wrong.
      If I check  Projects -> Run -> Run in Terminal, it outputs to the Terminal tab instead. Still wrong.
      If I uncheck Preferences... -> Terminal -> "Use internal terminal", the app used to run in a new terminal, which is correct behavior, but after the recent update, no terminal appears.

      One workaround, is to use a file manager to navigate to the compiled executable, and run it directly, instead of using the run button on Qt Creator.  This is not ideal.

      Another workaround, is to hard-code the path to the executable in the terminal parameters like this:
      Go to: Preferences -> Environment -> System -> Terminal:
      Select "/usr/bin/x_terminal-emulator" In the third box, replace the "-e" with:
      -e bash -c "/home/user/full_path_to/executable; read"
      Now the app does run in the terminal, but this field must be updated for each project.
      This is also not ideal.
      Please fix.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            madwinter Marcus Tillmanns
            rene_lindsay Rene Lindsay
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes