Source dir: D:\dev\source\qt5-dev\qtdeclarative\
Build dir: D:\dev\build\qt5-dev-x64-2019\qtdeclarative
Calling qt-configure-module.bat D:\dev\source\qt5-dev\qtdeclarative\ while in being in build directory I get:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
CMake Error: The source directory "D:/dev/build/qt5-dev-x64-2019/qtdeclarative" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Using forward slashes works as expected.