Skip to content
Snippets Groups Projects
Commit dea170b2 authored by con's avatar con
Browse files

Merge branch '1.0.0' of git@scm.dev.nokia.troll.no:creator/mainline into 1.0.0

parents 271487d6 26befce2
No related branches found
No related tags found
No related merge requests found
...@@ -691,9 +691,17 @@ void Qt4ProFileNode::update() ...@@ -691,9 +691,17 @@ void Qt4ProFileNode::update()
Qt4PriFileNode::update(fileForCurrentProject, reader); Qt4PriFileNode::update(fileForCurrentProject, reader);
QString qmakeCxx = reader->value(QLatin1String("QMAKE_CXX"));
if (qmakeCxx.isEmpty()) {
// macx-xcode mkspec resets the value of QMAKE_CXX.
// Unfortunately, we need a valid QMAKE_CXX to configure the parser.
qmakeCxx = QLatin1String("c++");
}
// update other variables // update other variables
QHash<Qt4Variable, QStringList> newVarValues; QHash<Qt4Variable, QStringList> newVarValues;
newVarValues[CxxCompilerVar] << reader->value(QLatin1String("QMAKE_CXX"));
newVarValues[CxxCompilerVar] << qmakeCxx;
newVarValues[DefinesVar] = reader->values(QLatin1String("DEFINES")); newVarValues[DefinesVar] = reader->values(QLatin1String("DEFINES"));
newVarValues[IncludePathVar] = includePaths(reader); newVarValues[IncludePathVar] = includePaths(reader);
newVarValues[UiDirVar] = uiDirPaths(reader); newVarValues[UiDirVar] = uiDirPaths(reader);
......
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