aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/main.py
diff options
context:
space:
mode:
authorShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2023-01-31 13:28:52 +0100
committerShyamnath Premnadh <Shyamnath.Premnadh@qt.io>2023-02-01 09:58:32 +0100
commit3b3ea84dc2d7bc4967096e046bd1951b03a7bc06 (patch)
treea05cf217c486a5b6173e078b981a153ca0493eb7 /build_scripts/main.py
parenteb9f91af7e327829bbaa0c6e27440430369ce039 (diff)
Fix cross compilation
- some regression from 2afcf8e7545c681e412e5b6d04ab8867e5edd5c7 pathlib changes Pick-to: 6.4 Change-Id: I32173bdffc1280e23b11006466f3dfb19a49fd8f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'build_scripts/main.py')
-rw-r--r--build_scripts/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index f7b34bf45..a04bea7d3 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -802,7 +802,7 @@ class PysideBuild(_build, CommandMixin, BuildInfoCollectorMixin):
cmake_cmd.append(f"-DQFP_QT_HOST_PATH={self.qt_host_path}")
if self.is_cross_compile and (not OPTION["SHIBOKEN_HOST_PATH"]
- or not OPTION["SHIBOKEN_HOST_PATH"].exists()):
+ or not Path(OPTION["SHIBOKEN_HOST_PATH"]).exists()):
raise SetupError("Please specify the location of host shiboken tools via "
"--shiboken-host-path=")