This PR adds the usual internal API updates for the next major version of Qt Creator and reworks how the environment variables from sources workspaces are gathered. Previously we used a process that was passed between functions to store the environment. Now we explicitly pass a QProcessEnvironment between functions and only create and run a process when required. Fixes #500.
At some point we will need to update this to leverage the active device for running these command to make this work when using other Qt Creator features like docker device.
This PR adds the usual internal API updates for the next major version of Qt Creator and reworks how the environment variables from sources workspaces are gathered. Previously we used a process that was passed between functions to store the environment. Now we explicitly pass a
QProcessEnvironment
between functions and only create and run a process when required. Fixes #500.