I keep the following notes (steps) as a personal guideline for building Qt Statically using Microsoft Visual C++ and I never fail to do it but please keep in mind that these are NOT some exact steps and they need to be changed (slightly though 🙂 ) in some cases. Leave comments if you have any questions.
I have used Qt 5.4.0 with Microsoft Visual C++ 2010 (MSVC2010) but it is more or less the same for similar compilers and others Qt versions.