mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
build-all: add error msg on missing art module
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user