aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/install_qt.py
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2024-11-01 10:36:45 +0100
committerEike Ziller <eike.ziller@qt.io>2024-11-07 13:10:53 +0000
commitc327cb08f4171b48c7b3a42d1e871fc734ac936f (patch)
tree18ca3227846969abb23e17fa618e2ff423d75e8d /scripts/install_qt.py
parent98f966d5be032d68e668351d4a125d7dd5864fc2 (diff)
COIN: Add instructions for oldest supported Qt version
And fix installation of ICU, that was installed at the wrong location (the toplevel Qt directory instead of lib/, which didn't matter on systems where the right ICU version was preinstalled anyway) Change-Id: I53dcd6126b7b46358dd9aa0622e58a8c614bff3f Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'scripts/install_qt.py')
-rwxr-xr-xscripts/install_qt.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/install_qt.py b/scripts/install_qt.py
index c2c68f0e2ad..777349c91d0 100755
--- a/scripts/install_qt.py
+++ b/scripts/install_qt.py
@@ -4,7 +4,7 @@
from __future__ import annotations
import argparse
-from common import download_and_extract
+from common import download_and_extract_tuples
from pathlib import Path
import subprocess
import sys
@@ -73,10 +73,10 @@ def install_qt(
with TemporaryDirectory() as temporary_dir:
if need_to_install_qt:
- urls = qt_modules
+ url_target_tuples = [(url, qt_path) for url in qt_modules]
if icu_url:
- qt_modules.append(icu_url)
- download_and_extract(urls, qt_path, Path(temporary_dir))
+ url_target_tuples.append((icu_url, qt_path / 'lib'))
+ download_and_extract_tuples(url_target_tuples, Path(temporary_dir))
patch_qt(qt_path)