Skip to content
Snippets Groups Projects
Commit da901f4a authored by dt's avatar dt
Browse files

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
parent 2a2e3b14
No related branches found
No related tags found
No related merge requests found
...@@ -247,6 +247,7 @@ QString Qt4RunConfiguration::proFilePath() const ...@@ -247,6 +247,7 @@ QString Qt4RunConfiguration::proFilePath() const
void Qt4RunConfiguration::updateCachedValues() void Qt4RunConfiguration::updateCachedValues()
{ {
ProFileReader *reader = static_cast<Qt4Project *>(project())->createProFileReader(); ProFileReader *reader = static_cast<Qt4Project *>(project())->createProFileReader();
reader->setCumulative(false);
if (!reader->readProFile(m_proFilePath)) { if (!reader->readProFile(m_proFilePath)) {
delete reader; 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())); Core::ICore::instance()->messageManager()->printToOutputPane(QString("Could not parse %1. The Qt4 run configuration %2 can not be started.").arg(m_proFilePath).arg(name()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment