Skip to content

Commit

Permalink
Fix build for Qt on Windows with drives other than C:
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Nov 27, 2020
1 parent 18290bc commit 145833c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qt/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ case $PLATFORM in
;;
windows-x86_64)
# Qt can only be built from very short paths on Windows
PLATFORM= cmd.exe //c "mklink /j c:\\qt ."
PLATFORM= cmd.exe //c "cd c:\\qt & configure.bat -prefix $(cygpath -w $INSTALL_PATH) $QT_OPTIONS & nmake & nmake install"
PLATFORM= cmd.exe //c "rmdir c:\\qt"
PLATFORM= cmd.exe //c "mklink /j \\qt ."
PLATFORM= cmd.exe //c "cd \\qt & configure.bat -prefix $(cygpath -w $INSTALL_PATH) $QT_OPTIONS & nmake & nmake install"
PLATFORM= cmd.exe //c "rmdir \\qt"
;;
*)
echo "Error: Platform \"$PLATFORM\" is not supported"
Expand Down

0 comments on commit 145833c

Please sign in to comment.