1、打開VS本機工具命令提示vcvars64.bat。
2、進入Qt源碼目錄
cd E:\qt-everywhere-opensource-src-5.9.3 mkdir qt-build && cd qt-build ..\configure.bat -opensource -debug-and-release -opengl desktop -nomake tests -nomake examples -prefix D:\app\Qt\5.9.3_x64
3、編譯安裝
nmake&&nmake install