forked from qt-creator/qt-creator
Tool chain: Find QtCore on Mac
Find QtCore library on mac when not in a framework. Task-number: QTCREATOR-4452 Reviewed-by: con
This commit is contained in:
@@ -1680,7 +1680,8 @@ QString QtVersion::qtCorePath() const
|
|||||||
if (file.endsWith(".a") || file.endsWith(".lib"))
|
if (file.endsWith(".a") || file.endsWith(".lib"))
|
||||||
staticLibs.append(info);
|
staticLibs.append(info);
|
||||||
else if (file.endsWith(QLatin1String(".dll"))
|
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();
|
return info.absoluteFilePath();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user