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

turning off "run on terminal" will print qDebug output twice on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • Qt Creator 2.8.0-beta, Qt Creator 3.0.0-beta
    • All Other Issues
    • Windows, Qt projects using qDebug

    Description

      If one turns off the "run on terminal" option on Windows, qDebug's output will be printed twice in the application output pane. This is due to qDebug using OutputDebugString and stderr to output it's messages.

      To solve this we could do one of these items:

      • Display the OutputDebugString stream and stderr in different panes if "run on terminal" is off.
      • Provide a checkbox to hide the OutputDebugString stream in the application output pane.
      • Prevent QDebug from using OutputDebugString and stderr. Maybe using an environment variable that is set by Qt Creator.

      Attachments

        Issue Links

          Activity

            People

              kkohne Kai Köhne
              jbornema Joerg Bornemann
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: