summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-25 13:56:29 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-05-25 16:18:39 +0200
commit9ed166154a5d6c63a9a498362f13e6ef458b64bf (patch)
treeebe90fffc4036a99b77c773694b07c1583a65165 /scripts
parentabfff88341eb0f2b5dc83f5fa9b55b0a98de8d36 (diff)
testwheel.py: Fix Qt Designer plugins on Windows
Use os.pathsep to set the path. Pick-to: master Task-number: PYSIDE-2206 Change-Id: I184729e770e3183d9c718007b5d8ffbfdfe1a766 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/packagetesting/testwheel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/packagetesting/testwheel.py b/scripts/packagetesting/testwheel.py
index 0cf3f1f3..e675df66 100644
--- a/scripts/packagetesting/testwheel.py
+++ b/scripts/packagetesting/testwheel.py
@@ -371,10 +371,10 @@ if __name__ == "__main__":
# Set path to Qt Designer plugins
wiggly_dir = os.fspath(root_ex / 'widgetbinding')
taskmenu_dir = os.fspath(root_ex / 'designer' / 'taskmenuextension')
- new_path = f"{wiggly_dir}:{taskmenu_dir}"
+ new_path = f"{wiggly_dir}{os.pathsep}{taskmenu_dir}"
designer_path = os.environ.get(DESIGNER_PATH_VAR, "")
if designer_path:
- new_path += f":{designer_path}"
+ new_path += f"{os.pathsep}{designer_path}"
os.environ[DESIGNER_PATH_VAR] = new_path
VERSION = get_pyside_version_from_import()