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

Environment variables in cmake presets are not propagated to the Run environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 17.0.0
    • None
    • Linux/Other display system
    • de0ccd428 (master)

      The cmake presets support an "environment" section.  Qt Creator correctly sets these in the Configure and Build stages.

      However, the environment variables are not propagated to the environment in the Run stage, even though the Run environment specifies the Build environment as the base (by default).

        For Gerrit Dashboard: QTCREATORBUG-33309
        # Subject Branch Project Status CR V

            cadam Cristian Adam
            chardrazle Richard Hazlewood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes