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.4k 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 Offline
    P Offline
    Poldi
    wrote on last edited by
    #1

    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

    jsulmJ cristian-adamC 2 Replies Last reply
    0
    • P Poldi

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

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

        jsulmJ 1 Reply Last reply
        0
        • P Poldi

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

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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 last edited by
            #5

            Entering Clear does nothing

            jsulmJ aha_1980A 2 Replies Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher moved this topic from General and Desktop on
            • P Poldi

              Entering Clear does nothing

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on 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

                Entering Clear does nothing

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on 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
                0
                • P Poldi

                  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

                  cristian-adamC Offline
                  cristian-adamC Offline
                  cristian-adam
                  wrote on 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
                  • aha_1980A aha_1980

                    @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 last edited by
                    #9

                    @aha_1980 I'm on Ubuntu

                    cristian-adamC 1 Reply Last reply
                    0
                    • P Poldi

                      @aha_1980 I'm on Ubuntu

                      cristian-adamC Offline
                      cristian-adamC Offline
                      cristian-adam
                      wrote on last edited by
                      #10

                      @Poldi which shell are you using?

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        Poldi
                        wrote on last edited by
                        #11

                        I'm using bash

                        term.png

                        cristian-adamC 1 Reply Last reply
                        0
                        • P Poldi

                          I'm using bash

                          term.png

                          cristian-adamC Offline
                          cristian-adamC Offline
                          cristian-adam
                          wrote on 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
                          • aha_1980A Offline
                            aha_1980A Offline
                            aha_1980
                            Lifetime Qt Champion
                            wrote on 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