aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/install_qt.py
diff options
context:
space:
mode:
Diffstat (limited to 'packaging-tools/install_qt.py')
-rw-r--r--packaging-tools/install_qt.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging-tools/install_qt.py b/packaging-tools/install_qt.py
index 1fb39181c..b75625f0d 100644
--- a/packaging-tools/install_qt.py
+++ b/packaging-tools/install_qt.py
@@ -3,7 +3,7 @@
#############################################################################
#
-# Copyright (C) 2022 The Qt Company Ltd.
+# Copyright (C) 2023 The Qt Company Ltd.
# Contact: https://www.qt.io/licensing/
#
# This file is part of the release tools of the Qt Toolkit.
@@ -32,9 +32,10 @@
import argparse
import os
import sys
-from tempfile import TemporaryDirectory
from typing import List, Optional
+from temppathlib import TemporaryDirectory
+
from bldinstallercommon import create_qt_download_task, patch_qt
from logging_util import init_logger
from threadedwork import ThreadedWork
@@ -112,8 +113,7 @@ def install_qt(
else:
with TemporaryDirectory() as temporary_dir:
dl_pkgs_work.add_task_object(
- create_qt_download_task(qt_modules, qt_path, temporary_dir,
- opts)
+ create_qt_download_task(qt_modules, qt_path, str(temporary_dir.path), opts)
)
# run task if needed