summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt4project.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2009-06-10 15:54:56 +0200
committercon <qtc-committer@nokia.com>2009-06-24 13:41:42 +0200
commit66c2c7c18b5129b273e297bc81634bff46b8601f (patch)
tree5d9d9d88029bb8273fcb0eddc29e96c7416c08c8 /src/plugins/qt4projectmanager/qt4project.cpp
parent3c4122b8e2f2cca1cfa7af6b90ed14079f509e93 (diff)
downloadqt-creator-66c2c7c18b5129b273e297bc81634bff46b8601f.tar.gz
Add the environment from the right tool chain.
Since the actual tool chain is defined in the project, it moved there from the qt version.
Diffstat (limited to 'src/plugins/qt4projectmanager/qt4project.cpp')
-rw-r--r--src/plugins/qt4projectmanager/qt4project.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qt4projectmanager/qt4project.cpp b/src/plugins/qt4projectmanager/qt4project.cpp
index 48d4fec938..b053bc8691 100644
--- a/src/plugins/qt4projectmanager/qt4project.cpp
+++ b/src/plugins/qt4projectmanager/qt4project.cpp
@@ -724,6 +724,7 @@ ProjectExplorer::Environment Qt4Project::baseEnvironment(const QString &buildCon
{
Environment env = useSystemEnvironment(buildConfiguration) ? Environment::systemEnvironment() : Environment();
qtVersion(buildConfiguration)->addToEnvironment(env);
+ toolChain(buildConfiguration)->addToEnvironment(env);
return env;
}