Commit 11037dfc authored by Fawzi Mohamed's avatar Fawzi Mohamed Committed by Friedemann Kleint
Browse files

ios: fix compilation on other platforms



fix ternary operator types

Change-Id: I4f9a0eb100fd6ca4e65e91ef67a53331d3f8faaa
Reviewed-by: default avatarNikita Baryshnikov <nib952051@gmail.com>
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent dc7f2a9b
......@@ -207,7 +207,7 @@ IosToolHandlerPrivate::IosToolHandlerPrivate(IosToolHandler::DeviceType devType,
QString xcPath = IosConfigurations::developerPath().appendPath(QLatin1String("../OtherFrameworks")).toFileInfo().canonicalFilePath();
env.insert(QLatin1String("DYLD_FALLBACK_FRAMEWORK_PATH"),
xcPath.isEmpty() ?
QLatin1String("/System/Library/PrivateFrameworks")
QString::fromLatin1("/System/Library/PrivateFrameworks")
: (xcPath + QLatin1String(":/System/Library/PrivateFrameworks")));
process.setProcessEnvironment(env);
......
Supports Markdown
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