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. Disable printing on debug screen
Qt 6.11 is out! See what's new in the release blog

Disable printing on debug screen

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 4 Posters 596 Views
  • 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.
  • V Offline
    V Offline
    viniltc
    wrote on last edited by
    #1

    Hi All,

    Is there a way to disable printing debug messages on the application output screen of Qt Creator? (shown below)
    Capture.JPG

    jsulmJ 1 Reply Last reply
    0
    • V viniltc

      Hi All,

      Is there a way to disable printing debug messages on the application output screen of Qt Creator? (shown below)
      Capture.JPG

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @viniltc Please provide more information: how do you print actually? Do you use qDebug?

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

      V 1 Reply Last reply
      1
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #3

        Hi, one brute force way I use: start DebugView before starting Qt Creator.
        Then when I run my program in Qt Creator, it will say "Unable to capture debug output" and then silence :-)

        1 Reply Last reply
        3
        • jsulmJ jsulm

          @viniltc Please provide more information: how do you print actually? Do you use qDebug?

          V Offline
          V Offline
          viniltc
          wrote on last edited by
          #4

          @jsulm Hi
          I use mix of printf and qDebug

          B 1 Reply Last reply
          0
          • V viniltc

            @jsulm Hi
            I use mix of printf and qDebug

            B Offline
            B Offline
            Bonnie
            wrote on last edited by Bonnie
            #5

            @viniltc Messages that you print by qDebug() can be disabled by adding this to the .pro file

                DEFINES += QT_NO_DEBUG_OUTPUT
            
            1 Reply Last reply
            5

            • Login

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