forked from qt-creator/qt-creator
More FileName::appendPath() -> .pathAppended()
Change-Id: I403d34e4f52f758339c158efc7a11fd329e3e043 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -266,8 +266,8 @@ Utils::FileName QbsBuildStep::installRoot(VariableHandling variableHandling) con
|
||||
|
||||
const QbsBuildConfiguration * const bc
|
||||
= static_cast<QbsBuildConfiguration *>(buildConfiguration());
|
||||
return bc->buildDirectory().appendPath(bc->configurationName())
|
||||
.appendPath(qbs::InstallOptions::defaultInstallRoot());
|
||||
return bc->buildDirectory().pathAppended(bc->configurationName())
|
||||
.pathAppended(qbs::InstallOptions::defaultInstallRoot());
|
||||
}
|
||||
|
||||
int QbsBuildStep::maxJobs() const
|
||||
|
||||
@@ -203,8 +203,7 @@ Kit *QbsProjectImporter::createKit(void *directoryData) const
|
||||
qCDebug(qbsPmLog) << "creating kit for imported build" << bgData->bgFilePath.toUserOutput();
|
||||
QtVersionData qtVersionData;
|
||||
if (!bgData->qtBinPath.isEmpty()) {
|
||||
FileName qmakeFilePath = bgData->qtBinPath;
|
||||
qmakeFilePath.appendPath(HostOsInfo::withExecutableSuffix("qmake"));
|
||||
const FileName qmakeFilePath = bgData->qtBinPath.pathAppended(HostOsInfo::withExecutableSuffix("qmake"));
|
||||
qtVersionData = findOrCreateQtVersion(qmakeFilePath);
|
||||
}
|
||||
return createTemporaryKit(qtVersionData,[this, bgData](Kit *k) -> void {
|
||||
|
||||
Reference in New Issue
Block a user