[Qt-creator] Displaying the user environment changes

Markus Redeker markus at froglogic.com
Wed Feb 26 17:07:49 CET 2020

On Wed, 26 Feb 2020 11:37:28 +0000
Christian Kandeler <Christian.Kandeler at qt.io> wrote:

> Retrieve the environment aspect from the build config via aspect<EnvironmentAspect>() and call setUserEnvironmentChanges() on that object.

This does not work. The build configuration does not have an
EnvironmentAspect, at least not one that one can get with
aspect<EnvironmentAspect>(). For the run configuration it does indeed work.

Instead it looks to me as if the BuildEnvironmentWidget works entirely
without aspects.

- Markus

More information about the Qt-creator mailing list