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.
This commit is contained in:
con
2009-06-10 15:54:56 +02:00
parent 3c4122b8e2
commit 66c2c7c18b
3 changed files with 8 additions and 9 deletions

View File

@@ -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;
}