From 9d6e6ddf60350bf0c18fe24fcf20ce065aab5258 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Sat, 18 Jul 2026 11:46:00 +0500 Subject: [PATCH] build-all: add error msg on missing `art` module --- nix/build-all.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nix/build-all.py b/nix/build-all.py index 23d5f6858f..b422579188 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -834,6 +834,16 @@ def install_qt6() -> str: return str(qt_dir) 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( [ sys.executable,