build: run aqtinstall in deps directory to avoid stray log file

This commit is contained in:
Andrej730
2026-09-14 16:05:02 +05:00
parent 04ded95045
commit b59dc01019
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -1012,7 +1012,10 @@ def install_qt6() -> str:
"icu",
"qtbase",
"qtsvg",
]
],
# aqtinstall writes its log as `aqtinstall.log` relative to cwd. Run from
# DEPS_DIR instead of the repo dir so it doesn't leave a stray file there.
cwd=DEPS_DIR,
)
if not (qt_config.exists() and qt_core.exists() and qt_svg.exists()):
+3
View File
@@ -881,6 +881,9 @@ def install_qt6(
"--archives",
"qtbase",
"qtsvg",
# aqtinstall writes its log as `aqtinstall.log` relative to cwd. Run from
# deps_dir instead of the repo's win/ dir so it doesn't leave a stray file there.
cwd=vs_cfg_vars.deps_dir,
)
if not QT6_TARGET_INSTALLED: