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