forked from qt-creator/qt-creator
iOS: More FileName::appendPath -> pathAppended changes
Change-Id: I3db6b1778e6e47e26e243fb2609c481651aa91fe Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -214,7 +214,7 @@ static void setupKit(Kit *kit, Core::Id pDeviceType, const ToolChainPair& toolCh
|
||||
|
||||
static QVersionNumber findXcodeVersion(const Utils::FileName &developerPath)
|
||||
{
|
||||
FileName xcodeInfo = developerPath.parentDir().appendPath("Info.plist");
|
||||
const FileName xcodeInfo = developerPath.parentDir().pathAppended("Info.plist");
|
||||
if (xcodeInfo.exists()) {
|
||||
QSettings settings(xcodeInfo.toString(), QSettings::NativeFormat);
|
||||
return QVersionNumber::fromString(settings.value("CFBundleShortVersionString").toString());
|
||||
|
||||
Reference in New Issue
Block a user