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

[Windows] Qt Creator converts environment variables to upper case

    XMLWordPrintable

Details

    Description

      Qt Creator converts all environment variable names to uppercase for the environment it passes to its children. This causes problems with 3rd party tools. For example, when building Boost from within CMake using a custom script. The b2 tool bundled with Boost expects the names of environment variables to be canonical. And because Qt Creator capitalizes the environment variables, the Boost build now fails.

      The conversion is implemented in src/libs/utils/environment.cpp, line 207: in Environment::Environment() function. Removing the conversion seems to fix the problem.

      Attachments

        Issue Links

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

          Activity

            People

              hunger Tobias Hunger
              qtcomsupport Qt Support
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes