Fix: run_list_qt_commercial: call of download_installer

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura
2025-03-04 16:20:11 +09:00
parent ecc4e4e873
commit 4a2f739647

View File

@@ -63,6 +63,7 @@ from aqt.helper import (
downloadBinaryFile, downloadBinaryFile,
extract_auth, extract_auth,
get_hash, get_hash,
get_os_name,
get_qt_installer_name, get_qt_installer_name,
retry_on_bad_connection, retry_on_bad_connection,
retry_on_errors, retry_on_errors,
@@ -903,7 +904,8 @@ class Cli:
try: try:
# Download installer # Download installer
self.logger.info(f"Downloading Qt installer to {installer_path}") self.logger.info(f"Downloading Qt installer to {installer_path}")
download_installer(Settings.baseurl, installer_path) timeout = (Settings.connection_timeout, Settings.response_timeout)
download_installer(Settings.baseurl, installer_filename, get_os_name(), temp_path, timeout)
# Build command # Build command
cmd = [str(installer_path), "--accept-licenses", "--accept-obligations", "--confirm-command"] cmd = [str(installer_path), "--accept-licenses", "--accept-obligations", "--confirm-command"]