Commit c5178bfb authored by Tobias Hunger's avatar Tobias Hunger

Tool chain: Find QtCore on Mac

Find QtCore library on mac when not in a framework.

Task-number: QTCREATOR-4452
Reviewed-by: con
parent f1033737
......@@ -1680,7 +1680,8 @@ QString QtVersion::qtCorePath() const
if (file.endsWith(".a") || file.endsWith(".lib"))
staticLibs.append(info);
else if (file.endsWith(QLatin1String(".dll"))
|| file.endsWith(QString::fromLatin1(".so.") + qtVersionString()))
|| file.endsWith(QString::fromLatin1(".so.") + qtVersionString())
|| file.endsWith(QLatin1Char('.') + qtVersionString() + QLatin1String(".dylib")))
return info.absoluteFilePath();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment