From 6b2d30fa92bd8f18cf2ec66afde0de1306c77d2b Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Sat, 17 Feb 2024 02:00:32 +0100 Subject: [PATCH] check found modules --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 963c0614..a1581fdb 100755 --- a/setup.py +++ b/setup.py @@ -191,6 +191,9 @@ def qt_download_check_extract(cfg, dir_install): if archive_name.startswith(module_name): archives_match.append([package_name, data["version"], archive_name]) + if not archives_match: + raise RuntimeError(f"no matches for Qt modules ({cfg['versions']['qt_modules']}) found") + for package_name, package_version, archive_name in archives_match: url_archive = base_url+'/'+package_name+'/'+package_version+archive_name