On Wed, 26 Feb 2020 11:17:50 +0100
Markus Redeker <mar...@froglogic.com> wrote:

> I am currently working on a plugin that changes the build environment
> settings of a project with
> BuildConfiguration::setUserEnvironmentChanges(). 

That function is intended to update the environment *from* the widget, i.e. the 
reverse flow of information to what you intend. 

> Setting the environment variables works, but I cannot get the build 
> environment
> widget to display the new environment changes. Is there a way to do
> this?

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


Christian
_______________________________________________
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to