doc/README: updated MSYS2 install instructions

This commit is contained in:
mappu 2024-12-11 19:56:11 +13:00
parent 240d1c3925
commit cdcd1e71e0

View File

@ -179,8 +179,9 @@ pacman -S mingw-w64-ucrt-x86_64-{go,gcc,pkg-config}
export GOROOT=/ucrt64/lib/go # Needed only if this is the first time installing Go in MSYS2. Otherwise it would be automatically applied when opening a new Bash terminal. export GOROOT=/ucrt64/lib/go # Needed only if this is the first time installing Go in MSYS2. Otherwise it would be automatically applied when opening a new Bash terminal.
# Install Qt # Install Qt
pacman -S mingw-w64-ucrt-x86_64-qt5-base # For Qt 5 pacman -S mingw-w64-ucrt-x86_64-qt5-base # For Qt 5 (UCRT64 GCC toolchain)
pacman -S mingw-w64-ucrt-x86_64-qt6-base # For Qt 6 pacman -S mingw-w64-ucrt-x86_64-qt6-base # For Qt 6 (UCRT64 GCC toolchain)
pacman -S mingw-w64-clang-x86_64-qt6-base # For Qt 6 (CLANG64 toolchain)
go build -ldflags "-s -w -H windowsgui" go build -ldflags "-s -w -H windowsgui"
``` ```