diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-05-25 13:56:29 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-05-25 16:18:39 +0200 |
commit | 9ed166154a5d6c63a9a498362f13e6ef458b64bf (patch) | |
tree | ebe90fffc4036a99b77c773694b07c1583a65165 /scripts | |
parent | abfff88341eb0f2b5dc83f5fa9b55b0a98de8d36 (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.py | 4 |
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() |