diff options
author | con <qtc-committer@nokia.com> | 2009-01-07 18:53:18 +0100 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2009-01-07 18:53:58 +0100 |
commit | 0bbed6d786bbb3a6d0f0ae0aa799ed8a4ddd1f41 (patch) | |
tree | a15159e9cb0d3b225a6860a13f7f480deca349dc /shared/proparser | |
parent | 92e447e9875074c18a922a6f307a85d3f06c7a09 (diff) | |
download | qt-creator-0bbed6d786bbb3a6d0f0ae0aa799ed8a4ddd1f41.tar.gz |
Fixes: - Executable for console app are not found on Mac
Diffstat (limited to 'shared/proparser')
-rw-r--r-- | shared/proparser/profileevaluator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/proparser/profileevaluator.cpp b/shared/proparser/profileevaluator.cpp index cdfcb05fae..107efe9d50 100644 --- a/shared/proparser/profileevaluator.cpp +++ b/shared/proparser/profileevaluator.cpp @@ -772,6 +772,11 @@ bool ProFileEvaluator::Private::visitProValue(ProValue *value) removeEach(&m_valuemap, varName, v); removeEach(&m_filevaluemap[currentProFile()], varName, v); } + } else if (!m_skipLevel) { + // this is a hack for the moment to fix the + // CONFIG -= app_bundle problem on Mac (add it to a variable -CONFIG as was done before) + insertUnique(&m_valuemap, QString("-%1").arg(varName), v); + insertUnique(&m_filevaluemap[currentProFile()], QString("-%1").arg(varName), v); } else { // We are stingy with our values, too. } |