summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmir Masoud Abdol <amirmasoudabdol@icloud.com>2023-01-09 12:52:18 +0100
committerAmir Masoud Abdol <amirmasoudabdol@icloud.com>2023-01-09 14:39:27 +0100
commit07a978c756cba6953bf81497fa3a386793652242 (patch)
treed5a8c24b327310a14df1293bfb55d3c65a3e5be5
parente0bb9e81ab1a9d71f2893844ea82430467422e21 (diff)
Use the Windows path separator in a Batch file
Patching inconsistent path separator in Batch file. This at some point may lead to something similar to the mentioned task. Pick-to: 6.4 6.5 Task-number: QTBUG-109857 Change-Id: I36c05dc7a0b7daf3dc5dced61f3c3f7d90eb59e3 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
-rw-r--r--bin/qt-cmake.bat.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/qt-cmake.bat.in b/bin/qt-cmake.bat.in
index 2645c0320f..96d955d2a9 100644
--- a/bin/qt-cmake.bat.in
+++ b/bin/qt-cmake.bat.in
@@ -6,5 +6,5 @@ set script_dir_path=%~dp0
set cmake_path=@CMAKE_COMMAND@
if not exist "%cmake_path%" set cmake_path=cmake
-set toolchain_path=%script_dir_path%/@__GlobalConfig_relative_path_from_bin_dir_to_cmake_config_dir@/qt.toolchain.cmake
+set toolchain_path=%script_dir_path%\@__GlobalConfig_relative_path_from_bin_dir_to_cmake_config_dir@\qt.toolchain.cmake
"%cmake_path%" -DCMAKE_TOOLCHAIN_FILE="%toolchain_path%" @__qt_cmake_extra@ %*