No results found
We couldn't find anything using that term, please try searching for something else.
En Ar Bg De El Es Fa fi Fr Hi Hu It Ja Kn Ko Ms Nl pl Pt ru sq Th Tr Uk Zh MsYs2 and MsYs2 (Minimal sYstem 2) is an inde
En
Ar
Bg
De
El
Es
Fa
fi
Fr
Hi
Hu
It
Ja
Kn
Ko
Ms
Nl
pl
Pt
ru
sq
Th
Tr
Uk
Zh
MsYs2 and MsYs2 (Minimal sYstem 2) is an independent rewrite of MsYs, a (command-line) shell for development usage, and based on modern Cygwin (POsIX compatibility layer) and MinGW-w64 (from “MinGW-builds”), with the aim of better interoperability with native Windows software.
It includes: MsYs2-shell and MinGW-w64 Win32 shell & MinGW-w64 Win64 shell.
It supports & can work with both 32bit & 64bit multiple toolchains & targets, (for 64bit a 64bit operating system is needed).
MsYs2 is a successor of MsYs and MinGW-builds.
MsYs2-shell uses “pacman” for downloading packages from repo, and these are GPG signed & verified. Packages are by developer: lexx83 (Alexpux), mingwandroid, niXman.
MsYs2 is a complete opensource development environment+shell solution+system.
It can obtain related all toolchains & dependency packages from “MinGW-builds” and MsYs2 REPO, for compiling/building other software. It can also obtain various directly usable tools & language support & compilers, like: perl, python, ruby, openssl, etc.
A user has these options to choose from: by using MsYs2-shell & MinGW-w64 Win64 shell:
(option-A), either download Qt or QtCreator source (from MsYs2 repo) and compile/build inside MsYs2,
or (option-B), a user can get official Qt source or QtCreator source, and then compile/build using mingw-w64 toolchains obtained from MsYs2 repo, from the windows Cmd-shell,
or (option-C), a user can get Qt or QtCreator software-building scripts from MsYs2’s “MINGW-packages” repo, and compile/build using mingw-w64 toolchains obtained from MsYs2 repo, inside MsYs2-shell,
or (option-D), a user can download pre-built binary files of Qt & QtCreator (dynamic/shared and/or static built editions) inside MsYs2, and run+use them instantly without compiling.
MsYs2, MsYs2. Use HTTPs based secure connection and obtain MsYs2. run the installer binary. Install MsYs2 in C:drive in “msys2” folder.
pacman --needed -s bash pacman pacman-mirrors msys2-runtime
You must exit out from MsYs2-shell, restart MsYs2-shell, then run below command, to complete rest of other components update:
Exit out of MsYs2-shell, restart MsYs2-shell, then you are ready to use MsYs2-shell.
Note: for initial installation & setup, please also see [1]. Here -s means “sync”.
pacman -s base-devel git mercurial cvs wget p7zip
pacman -s perl ruby python2 mingw-w64-i686-toolchain mingw-w64-x86_64-toolchain
Note: the i686(32bit) toolchain loads into /c/msys2/mingw32/bin (C:2\mingw32\bin) directory location, and, x86_64(64bit) toolchain loads into /c/msys2/mingw64/bin (C:2\mingw64\bin) directory. Perl, ruby, Python, OpenssL etc loads into /c/msys2/usr/bin (C:2\usr\bin) directory.
If you are going to build Qt using MinGW-w64 toolchains which are inside MsYs2, then you do need to do get pre-built Qt binary files, but choice is upto you.
pacman -s mingw-w64-i686-qt-creator mingw-w64-x86_64-qt-creator
If you also want to install/load, a pre-built static library environment edition of Qt binary files, for compiling & releasing opensource projects, (with almost one/single file based standalone or portable binary executable file), then run/execute below command:
pacman -s mingw-w64-i686-qt5-static mingw-w64-x86_64-qt5-static
Note: There is no static edition of QtCreator.
mkdir /c/msys2/repos cd /c/msys2/repos git clone https://github.com/Alexpux/MINGW-packages.git
For example, we want to build Qt5, so here our command will be: cd /c/msys2/repos/mingw-packages/mingw-w64-qt5
pacman -U ${package-name}' ''.pkg.tar.xz' ''
so for our example, our install command will be: pacman -U.pkg.tar.xz
follow the the usual instruction . Make sure tonot use MsYs paths on the configure command line – use regular Windows paths (with forward slashes, if you want to avoid escaping backslashes).