forked from qt-creator/qt-creator
Fix incorrect assignment of qml-root-path
Change-Id: I958427e7fdfd721c90cac52a33dbb17b0f3fdc1c Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -415,7 +415,7 @@ void AndroidBuildApkStep::doRun()
|
|||||||
QString qmlRootPath = node->data("QML_ROOT_PATH").toString();
|
QString qmlRootPath = node->data("QML_ROOT_PATH").toString();
|
||||||
if (qmlRootPath.isEmpty())
|
if (qmlRootPath.isEmpty())
|
||||||
qmlRootPath = target()->project()->rootProjectDirectory().toString();
|
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()};
|
QFile f{bc->buildDirectory().pathAppended("android_deployment_settings.json").toString()};
|
||||||
if (!f.open(QIODevice::WriteOnly))
|
if (!f.open(QIODevice::WriteOnly))
|
||||||
|
|||||||
Reference in New Issue
Block a user