Fix incorrect assignment of qml-root-path

Change-Id: I958427e7fdfd721c90cac52a33dbb17b0f3fdc1c
Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
Anton Danielsson
2019-05-30 15:16:07 +02:00
parent b500119fd7
commit 93a1364b05

View File

@@ -415,7 +415,7 @@ void AndroidBuildApkStep::doRun()
QString qmlRootPath = node->data("QML_ROOT_PATH").toString();
if (qmlRootPath.isEmpty())
qmlRootPath = target()->project()->rootProjectDirectory().toString();
deploySettings["qml-root-path"] = qmlImportPath;
deploySettings["qml-root-path"] = qmlRootPath;
QFile f{bc->buildDirectory().pathAppended("android_deployment_settings.json").toString()};
if (!f.open(QIODevice::WriteOnly))