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

Need a way to set environment for all run/debugged programs

    XMLWordPrintable

Details

    • All
    • 007fd9fa9 (master)

    Description

      Please add a way to modify the default environment that applies to all applications run and debugged. It's possible to set the compile and run environments for each target in each project, but I'd like to set it to all targets.

      Specifically, I want to set QT_FORCE_STDERR_LOGGING=1 so that the applications run will output content to Qt Creator's "Application output", instead of going to an invisible journal. This suggestion is printed by qtbase's configure (has been there for some 10 years):

      Note: journald, syslog or slog2 integration is enabled.  If your users intend to develop applications against this build, ensure that the IDEs 
      they use either set QT_FORCE_STDERR_LOGGING to 1 or are able to read the logged output from journald, syslog or slog2.
      

      I don't want to set it in Qt Creator's environment because that affects Qt Creator itself and where its logs go.

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              thiago Thiago Macieira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes