##Compile Qt apps in Windows on the command line
This guide has been tested only with version 4.9.1 of the MinGW toolchain. Adapt these instructions to your toolchain of choice.
- Download the Qt community edition web installer. When choosing packages, select MinGW 4.9.1. Do this step even though you might already have a MinGW toolchain installed, as Qt seems to be picky about which compilers it works with.
- Optional: Download and install MSYS, a minimal shell environment for Windows.
- Add Qt tools and the toolchain binaries to your path. By default they are located in c:\qt\5.4\mingw491_32\bin and c:\qt\tools\mingw491_32\bin, respectively. These must be placed before any other mingw binaries to prevent possible version conflicts.
That's it. Note that in the MinGW toolchain the make command has been renamed to mingw32-make.