Fix condition that runs the scanning of the Qml imports

Scanning of the Qml imports should be run if either Qml root paths or
.qrc files are specified for androiddeployqt.

Task-number: QTBUG-106939
Pick-to: 6.2 6.4
Change-Id: I3229ec6d3f2ac17ef751b4a6ed74e8e98db7465e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alexey Edelev 2022-09-26 17:45:56 +02:00
parent 5222df2be7
commit 24f68a0deb

View File

@ -2295,7 +2295,7 @@ bool readDependencies(Options *options)
}
}
if ((!options->rootPaths.empty() || options->qrcFiles.isEmpty()) &&
if ((!options->rootPaths.empty() || !options->qrcFiles.isEmpty()) &&
!scanImports(options, &usedDependencies))
return false;