From 073bc79b5000059b9853ae175abdfbf35dc08bc2 Mon Sep 17 00:00:00 2001 From: Amir Masoud Abdol Date: Mon, 9 Jan 2023 12:52:18 +0100 Subject: [PATCH] Use the Windows path separator in a Batch file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patching inconsistent path separator in Batch file. This at some point may lead to something similar to the mentioned task. Task-number: QTBUG-109857 Change-Id: I36c05dc7a0b7daf3dc5dced61f3c3f7d90eb59e3 Reviewed-by: Alexey Edelev (cherry picked from commit 07a978c756cba6953bf81497fa3a386793652242) Reviewed-by: Jörg Bornemann --- bin/qt-cmake.bat.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/qt-cmake.bat.in b/bin/qt-cmake.bat.in index 2645c0320f6..96d955d2a92 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@ %*