diff options
author | hjk <hjk@qt.io> | 2021-05-25 15:25:37 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-06-04 11:42:05 +0000 |
commit | 4e30ce160e7e7ea4e2f7801d15b1659f19a27177 (patch) | |
tree | f74460d6ec8332c280043b8a5980fa5c8e297cb3 /src/plugins/cppcheck/cppcheckrunner.cpp | |
parent | 8a5b917d8f2bda1c042fc24e7815f19187d8ce8e (diff) | |
download | qt-creator-4e30ce160e7e7ea4e2f7801d15b1659f19a27177.tar.gz |
Utils: Start collecting environment changes instead of full environments
We have a couple of cases where classes need to modify environments but
have only the ability to provide complete environments without actually
knowing the full context. Starting with systemEnvironment usually works
so far, but breaks down in cases of e.g. containerized builds.
This patch here introduces the ability to collect changes to
environments, and postpones creating a full environment until the
context is clear.
As introductory example use BaseQtVersion::qmakeRunEnvironment
Change-Id: Id23c0aa80fc95b0a8a01f8e3a87adc9b1a57002a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cppcheck/cppcheckrunner.cpp')
0 files changed, 0 insertions, 0 deletions