https://amin-ahmadi.com/2017/11/01/how-to-build-qt-5-9-2-static-using-mingw/
How to Build Qt 5.9.2 Static Using MinGW