Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.3.0
-
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
- duplicates
-
QTCREATORBUG-12564 Qt Creator shows no debug output if Qt was configured with the journald flag
-
- Closed
-
- relates to
-
QTCREATORBUG-29530 Need a way to set environment for all run/debugged programs
-
- Closed
-