mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
When using --alternates with a relative path, nested submodules (e.g., qtdeclarative/tests/auto/qml/ecmascripttests/test262) failed because the alternates path wasn't adjusted for the changed working directory depth. The --alternates option worked correctly with absolute paths. Fix by converting the passed alternates path to an absolute path. Pick-to: 6.8 6.10 6.11 Fixes: QTBUG-142712 Change-Id: Ief7a87768d9ff17bb2832ae363f573ecae58d5ee Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>