Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator displays Ctrl-L instead of executing
Forum Updated to NodeBB v4.3 + New Features

Qt Creator displays Ctrl-L instead of executing

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
13 Posts 4 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Poldi
    15 Jan 2024, 06:33

    I'm on Qt Creator 12.0.1 and when I try to clear the terminal window via the Clear button,
    Ctrl-L is displayed in the window instead of clearing the content.
    term.png

    J Offline
    J Offline
    jsulm
    Lifetime Qt Champion
    wrote on 15 Jan 2024, 06:34 last edited by
    #2

    @Poldi It looks like an application is running in that terminal? Try after terminating it.

    https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Poldi
      wrote on 15 Jan 2024, 06:59 last edited by
      #3

      Done.
      This time it doesn't display Ctrl-L; it does nothing

      J 1 Reply Last reply 15 Jan 2024, 07:02
      0
      • P Poldi
        15 Jan 2024, 06:59

        Done.
        This time it doesn't display Ctrl-L; it does nothing

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 15 Jan 2024, 07:02 last edited by
        #4

        @Poldi Don't know why it doesn't work. As alternative you can use this command in the terminal: clear

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • P Offline
          P Offline
          Poldi
          wrote on 15 Jan 2024, 23:39 last edited by
          #5

          Entering Clear does nothing

          J A 2 Replies Last reply 16 Jan 2024, 06:36
          0
          • C Christian Ehrlicher moved this topic from General and Desktop on 16 Jan 2024, 05:16
          • P Poldi
            15 Jan 2024, 23:39

            Entering Clear does nothing

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 16 Jan 2024, 06:36 last edited by
            #6

            @Poldi You did press enter after clear?

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            1
            • P Poldi
              15 Jan 2024, 23:39

              Entering Clear does nothing

              A Offline
              A Offline
              aha_1980
              Lifetime Qt Champion
              wrote on 16 Jan 2024, 06:51 last edited by
              #7

              @Poldi Are you on Windows? Then Ctrl-L is not supported, as it is not supported in the Windows cmd. clear + <Enter> should work however, at least it works for me.

              Regards

              Qt has to stay free or it will die.

              P 1 Reply Last reply 31 Jan 2024, 03:41
              0
              • P Poldi
                15 Jan 2024, 06:33

                I'm on Qt Creator 12.0.1 and when I try to clear the terminal window via the Clear button,
                Ctrl-L is displayed in the window instead of clearing the content.
                term.png

                C Offline
                C Offline
                cristian-adam
                wrote on 16 Jan 2024, 10:21 last edited by
                #8

                It looks like you are using cmd. Ctrl+L is not supported by cmd. It would work if you install clink.

                Otherwise the command to clear the screen in cmd is cls.

                1 Reply Last reply
                1
                • A aha_1980
                  16 Jan 2024, 06:51

                  @Poldi Are you on Windows? Then Ctrl-L is not supported, as it is not supported in the Windows cmd. clear + <Enter> should work however, at least it works for me.

                  Regards

                  P Offline
                  P Offline
                  Poldi
                  wrote on 31 Jan 2024, 03:41 last edited by
                  #9

                  @aha_1980 I'm on Ubuntu

                  C 1 Reply Last reply 31 Jan 2024, 20:48
                  0
                  • P Poldi
                    31 Jan 2024, 03:41

                    @aha_1980 I'm on Ubuntu

                    C Offline
                    C Offline
                    cristian-adam
                    wrote on 31 Jan 2024, 20:48 last edited by
                    #10

                    @Poldi which shell are you using?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Poldi
                      wrote on 1 Feb 2024, 22:45 last edited by
                      #11

                      I'm using bash

                      term.png

                      C 1 Reply Last reply 2 Feb 2024, 08:59
                      0
                      • P Poldi
                        1 Feb 2024, 22:45

                        I'm using bash

                        term.png

                        C Offline
                        C Offline
                        cristian-adam
                        wrote on 2 Feb 2024, 08:59 last edited by
                        #12

                        I just tested on Ubuntu with /bin/bash and the button worked in Terminal.

                        But when I started an application and in the run settings set Run in Terminal then I just got ^L in the output.

                        I think the application is started directly and not through a shell. Please do create a bug report https://bugreports.qt.io/

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          aha_1980
                          Lifetime Qt Champion
                          wrote on 4 Feb 2024, 11:51 last edited by
                          #13

                          https://bugreports.qt.io/browse/QTCREATORBUG-30300

                          Qt has to stay free or it will die.

                          1 Reply Last reply
                          0

                          • Login

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved