forked from qt-creator/qt-creator
Utils: Introduce a non-mutating FileName::pathAppended
... and start using it. The plan is to replace all appendPath() uses. Change-Id: I555bcfa742b99b0951b98b0c0e707422c348fadb Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -416,7 +416,7 @@ void AndroidBuildApkStep::doRun()
|
||||
qmlRootPath = target()->project()->rootProjectDirectory().toString();
|
||||
deploySettings["qml-root-path"] = qmlImportPath;
|
||||
|
||||
QFile f{bc->buildDirectory().appendPath("android_deployment_settings.json").toString()};
|
||||
QFile f{bc->buildDirectory().pathAppended("android_deployment_settings.json").toString()};
|
||||
if (!f.open(QIODevice::WriteOnly))
|
||||
return false;
|
||||
f.write(QJsonDocument{deploySettings}.toJson());
|
||||
|
||||
Reference in New Issue
Block a user