forked from qt-creator/qt-creator
QtSupport: Collect environment changes instead of full environments
Starting creating custom qmakeRunEnvironment() with systemEnvironment in derived classes without further context breaks down in cases of e.g. containerized builds. So instead create the base environment outside where the context is clear (still wrong after this patch) and let the derived class only apply the changes they need to an otherwise unspecified environment. Change-Id: Ibb23844f490ce86d8a89f6ce728faff65865c09b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
ProjectExplorer::Abis detectQtAbis() const override;
|
||||
|
||||
void addToEnvironment(const ProjectExplorer::Kit *k, Utils::Environment &env) const override;
|
||||
Utils::Environment qmakeRunEnvironment() const override;
|
||||
void setupQmakeRunEnvironment(Utils::Environment &env) const override;
|
||||
|
||||
QSet<Utils::Id> availableFeatures() const override;
|
||||
QSet<Utils::Id> targetDeviceTypes() const override;
|
||||
|
||||
Reference in New Issue
Block a user