Fixes: Set cumulative mode to false for figuring out the executable

Task:     242513
Details:  That should fix several parsing problems for .pro files with
scopes. Enable it, see how many bug reports we get, for stuff we
accidentaly parsed correctly. Shouldn't be many. So we parse the
follwing now correctly:
unix {
    TEMP=unix
}
win32 {
    TEMP=win32
}
DESTDIR=$$TEMP
This commit is contained in:
dt
2009-01-29 18:42:06 +01:00
parent 2a2e3b1417
commit da901f4a4f

View File

@@ -247,6 +247,7 @@ QString Qt4RunConfiguration::proFilePath() const
void Qt4RunConfiguration::updateCachedValues()
{
ProFileReader *reader = static_cast<Qt4Project *>(project())->createProFileReader();
reader->setCumulative(false);
if (!reader->readProFile(m_proFilePath)) {
delete reader;
Core::ICore::instance()->messageManager()->printToOutputPane(QString("Could not parse %1. The Qt4 run configuration %2 can not be started.").arg(m_proFilePath).arg(name()));