Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Feedback in middle of cout in terminal
Forum Updated to NodeBB v4.3 + New Features

Feedback in middle of cout in terminal

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 307 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.
  • M Offline
    M Offline
    moonyhelmi
    wrote on last edited by
    #1

    Hey! I'm using Qt Creator 5.12.2 (have to use that version for the class I'm taking) on Windows and for some reason Qt is printing the code feedback in the middle of the cout print? It does this everytime, no matter the file. A bit distracting. :D Any ideas how to fix this? :)

    0b335849-bba0-454e-a9b8-80d660dfa333-image.png

    Pl45m4P 1 Reply Last reply
    0
    • M Offline
      M Offline
      moonyhelmi
      wrote on last edited by
      #2

      "Fixed" this with unticking the "use internal terminal" setting in the terminal settings!

      1 Reply Last reply
      2
      • M moonyhelmi

        Hey! I'm using Qt Creator 5.12.2 (have to use that version for the class I'm taking) on Windows and for some reason Qt is printing the code feedback in the middle of the cout print? It does this everytime, no matter the file. A bit distracting. :D Any ideas how to fix this? :)

        0b335849-bba0-454e-a9b8-80d660dfa333-image.png

        Pl45m4P Offline
        Pl45m4P Offline
        Pl45m4
        wrote on last edited by Pl45m4
        #3

        @moonyhelmi

        Race condition between your cout output and the internal QtCreator thread which writes the information to console/terminal.

        Press Ctrl + R to run your program couple times, and you should be able to see the correct order.
        (not the cleanest solution).

        Better, as you wrote above, use the console output pane or the external console window for your output.


        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        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