Fix $$OUT_PWD not beeing set for finding the target/destdir

Qt Creator wouldn't find the correct target if shadow building a project
that uses $$OUT_PWD, like for example itemviews-ng.
We didn't set the necessary variable on the ProFileReader *, simplified
the code to always use a ProFileReader created for the exact
profilenode.
This commit is contained in:
dt
2009-04-28 14:30:17 +02:00
parent 842d376e21
commit 6c5e23f10e
6 changed files with 20 additions and 23 deletions

View File

@@ -584,18 +584,6 @@ void Qt4Project::update()
//updateCodeModel();
}
ProFileReader *Qt4Project::createProFileReader() const
{
ProFileReader *reader = new ProFileReader();
connect(reader, SIGNAL(errorFound(const QString&)),
this, SLOT(proFileParseError(const QString&)));
QtVersion *version = qtVersion(activeBuildConfiguration());
if (version->isValid()) {
reader->setQtVersion(version);
}
return reader;
}
/*!
Returns whether the project is an application, or has an application as a subproject.
*/