forked from qt-creator/qt-creator
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:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user