forked from qt-creator/qt-creator
Android: Use fromUserInput on paths with potential native separators
Otherwise functions like FilePath::fileName() don't work.
amends: 2d019ed659
Change-Id: Id606cabe77a46dab07d3f8c3f38e852517782176
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
@@ -786,8 +786,9 @@ void AndroidBuildApkStep::doRun()
|
|||||||
return true; // use the generated file if it was not generated by qtcreator
|
return true; // use the generated file if it was not generated by qtcreator
|
||||||
|
|
||||||
BuildSystem *bs = buildSystem();
|
BuildSystem *bs = buildSystem();
|
||||||
const FilePaths targets = Utils::transform(bs->extraData(buildKey, Android::Constants::AndroidTargets).toStringList(),
|
const FilePaths targets = Utils::transform(
|
||||||
&FilePath::fromString);
|
bs->extraData(buildKey, Android::Constants::AndroidTargets).toStringList(),
|
||||||
|
&FilePath::fromUserInput);
|
||||||
if (targets.isEmpty())
|
if (targets.isEmpty())
|
||||||
return inputExists; // qmake does this job for us
|
return inputExists; // qmake does this job for us
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user