Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-07-31 16:14:50 +0200
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2024-08-09 13:13:06 +0200
commit8ff61a10d142e6f51efcc26535f460e33a1cc0ed (patch)
tree4bc8d0a67579c3ed348658120b7ea731cb855983 /testing
parentcf72e6a2eb261ce84e21ac51b99786653ff3b4a5 (diff)
Desktop Deployment: Fix final application name
- Additionally, adapt wheel_tester.py Pick-to: 6.7 Fixes: PYSIDE-2806 Change-Id: If2c0d8f186142797f3280136298ed299643824f5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'testing')
-rw-r--r--testing/wheel_tester.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/wheel_tester.py b/testing/wheel_tester.py
index 81f6c4a7b..ab2f14913 100644
--- a/testing/wheel_tester.py
+++ b/testing/wheel_tester.py
@@ -231,8 +231,10 @@ def _run_deploy_test(example, tmpdirname):
suffix = "exe" if sys.platform == "win32" else "bin"
+ # fetch app->title from the config
+ app_title = parser.get("app", "title")
if sys.platform != "darwin":
- binary = f"{tmpdirname}/{main_file.stem}.{suffix}"
+ binary = f"{tmpdirname}/{app_title}.{suffix}"
else:
binary = f"{tmpdirname}/pyside_app_demo.app/Contents/MacOS/{main_file.stem}"