build-all: add error msg on missing art module

This commit is contained in:
Andrej730
2026-07-18 11:46:00 +05:00
parent 78e518c55d
commit 9d6e6ddf60
+10
View File
@@ -834,6 +834,16 @@ def install_qt6() -> str:
return str(qt_dir) return str(qt_dir)
os.makedirs(qt_install_root, exist_ok=True) os.makedirs(qt_install_root, exist_ok=True)
try:
import aqt
except ModuleNotFoundError:
logger.error(
"Could not find an existing Qt6 install, so aqtinstall is needed to fetch it automatically. "
"Install the `aqtinstall` PyPI package or set QT_DIR."
)
exit(1)
run( run(
[ [
sys.executable, sys.executable,