diff --git a/bin/qt-cmake-create.bat.in b/bin/qt-cmake-create.bat.in index ff8f7310e99..97faad8db72 100644 --- a/bin/qt-cmake-create.bat.in +++ b/bin/qt-cmake-create.bat.in @@ -1,4 +1,5 @@ @echo off +setlocal :: The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory. set script_dir_path=%~dp0 diff --git a/bin/qt-cmake.bat.in b/bin/qt-cmake.bat.in index 96d955d2a92..5d831ebce93 100644 --- a/bin/qt-cmake.bat.in +++ b/bin/qt-cmake.bat.in @@ -1,4 +1,5 @@ @echo off +setlocal :: The directory of this script is the expanded absolute path of the "$qt_prefix/bin" directory. set script_dir_path=%~dp0