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

QDebug Sends Output to Journald instead of "Application Output" Window

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 3.3.0
    • Debugger
    • None

    Description

      Recent Qt versions support journald. When stderr is not a tty device, then QDebug is redirected to journald. Seems reasonable.

      However, for use in the Qt Creator IDE, this obviously doesn't fit well with receiving QDebug in the "Application Output" pane when in debug mode.

      The quick and easy work around is just to add "QT_LOGGING_TO_CONSOLE" to the run configuration of the project.

      But clearly, this workaround shouldn't be necessary. It makes sense for Qt Creator to set this environment variable by default so that when in the IDE, QDebug goes to the "Application Output" pane, which is the expected behavior.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kkohne Kai Köhne
              zx2c4 Jason A. Donenfeld
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes