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

[Windows] Qt Creator converts environment variables to upper case

XMLWordPrintable

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes