10372c074b
When resolving QML module dependencies we scan the produced by the build system import paths for the required QML modules. Previously the check in androiddeployqt only was confirming that the required import starts with the one of import paths. This worked well unless the required import is nested in higher level import path. In the situation when we have the following build structure: build_dir/ imports/ MyModule/ ... and both 'build_dir' and 'build_dir/imports' directories are in QML import paths, the MyModule QML module is resolved by the 'build_dir/imports'. But androiddeployqt assumed that it's found by 'build_dir' import path and copied the whole 'imports' directory as the 'MyModule' QML module. The resulting bundle then had the following content: qml/ imports/ MyModule/ ... ... instead of the correct one: qml/ MyModule/ ... ... This checks if import path contains the required url-based module path before using it as the base directory to copy the module. Amends 0a73fb10005053945571e6cdb0b03d916715c112 Pick-to: 6.2 6.4 Fixes: QTBUG-108194 Change-Id: I79e1a8a67f62e5ae4a899ba1a4f49ee4ad44ebf9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io> |
||
---|---|---|
.github/workflows | ||
bin | ||
cmake | ||
coin | ||
config.tests | ||
dist | ||
doc | ||
examples | ||
lib | ||
libexec | ||
LICENSES | ||
mkspecs | ||
qmake | ||
src | ||
tests | ||
util | ||
.cmake.conf | ||
.gitattributes | ||
.gitignore | ||
.lgtm.yml | ||
.tag | ||
CMakeLists.txt | ||
conanfile.py | ||
config_help.txt | ||
configure | ||
configure.bat | ||
configure.cmake | ||
dependencies.yaml | ||
qt_cmdline.cmake | ||
sync.profile |