forked from qt-creator/qt-creator
Rename Abi::MacOS/GenericMacFlavor to DarwinOS/GenericDarwinFlavor
This makes clear that the ABI encompasses all Darwin platforms (macOS, iOS, tvOS, watchOS) in the wake of the OS X to macOS rename, and would have been more technically correct anyways since ABIs are far below the "macOS" parts of our favorite desktop Unix operating system. Change-Id: I16d1477f44ffe70e5d8cddd67199a1602ba6fd97 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -1464,7 +1464,7 @@ void QmakeProject::collectLibraryData(const QmakeProFileNode *node, DeploymentDa
|
||||
deploymentData.addFile(destDirFor(ti) + QLatin1Char('/') + targetFileName, targetPath);
|
||||
break;
|
||||
}
|
||||
case Abi::MacOS: {
|
||||
case Abi::DarwinOS: {
|
||||
QString destDir = destDirFor(ti);
|
||||
if (config.contains(QLatin1String("lib_bundle"))) {
|
||||
destDir.append(QLatin1Char('/')).append(ti.target)
|
||||
@@ -1543,7 +1543,7 @@ QString QmakeProject::executableFor(const QmakeProFileNode *node)
|
||||
QString target;
|
||||
|
||||
switch (toolchain->targetAbi().os()) {
|
||||
case Abi::MacOS:
|
||||
case Abi::DarwinOS:
|
||||
if (node->variableValue(ConfigVar).contains(QLatin1String("app_bundle"))) {
|
||||
target = ti.target + QLatin1String(".app/Contents/MacOS/") + ti.target;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user