diff options
Diffstat (limited to 'build_scripts/platforms')
| -rw-r--r-- | build_scripts/platforms/macos.py | 2 | ||||
| -rw-r--r-- | build_scripts/platforms/windows_desktop.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build_scripts/platforms/macos.py b/build_scripts/platforms/macos.py index a3b1df91a..8448929a0 100644 --- a/build_scripts/platforms/macos.py +++ b/build_scripts/platforms/macos.py @@ -81,7 +81,7 @@ def prepare_standalone_package_macos(self, vars): # Patching designer to use the Qt libraries provided in the wheel if config.is_internal_pyside_build(): designer_bundle = "{st_build_dir}/{st_package_name}/Designer.app".format(**vars) - designer_binary = "{}/Contents/MacOS/Designer".format(designer_bundle) + designer_binary = f"{designer_bundle}/Contents/MacOS/Designer" rpath = "@loader_path/../../../Qt/lib" macos_add_rpath(rpath, designer_binary) diff --git a/build_scripts/platforms/windows_desktop.py b/build_scripts/platforms/windows_desktop.py index a17f1da6a..a6c59b16a 100644 --- a/build_scripts/platforms/windows_desktop.py +++ b/build_scripts/platforms/windows_desktop.py @@ -384,7 +384,7 @@ def copy_qt_artifacts(self, copy_pdbs, vars): # e.g. "/home/work/qt/qtbase/bin" file_path_dir_name = os.path.dirname(file_full_path) # e.g. "Qt6Coredd" - maybe_debug_name = "{}d".format(file_base_name) + maybe_debug_name = f"{file_base_name}d" if self.debug: filter = debug |
