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

Add QT_LOGGING_TO_CONSOLE to env by default

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.15.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      The one without QT_LOGGING_TO_CONSOLE, sadly.
    • Platform/s:
      Linux/X11, Windows

      Description

      Qt Creator starts Qt/QML apps without terminal by default, and that may stop it from receiving and displaying to the programmer stdout/stderr of the app which is being developed/debugged.

      The root cause is a set of heuristics[1] and integrations with platform-specific system journals, but a universal workaround is to set QT_LOGGING_TO_CONSOLE environment variable.

      Dear Qt Creator, please, be integrated with things you are supposed to help to develop, at least somehow a little. Set this QT_LOGGING_TO_CONSOLE by default for all new projects (and maybe for existing ones too).

      [1]: https://www.mail-archive.com/development@qt-project.org/msg16578.html
      Related:
      [2]: https://bugreports.qt.io/browse/QTCREATORBUG-24756
      [3]: https://bugreports.qt.io/browse/QTCREATORBUG-12564

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              hjk hjk
              Reporter:
              ratijas ivan tkachenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes