编译准备
1、vs2015
2、下载qt源码
编译开始
运行configure
configure -prefix "./build" -release -opensource –static -static-runtime -force-debug-info -opengl dynamic -opengl desktop -platform win32-g++ -c++std c++11 -skip qtwebengine -nomake examples -nomake tests -mp -confirm-license
大约5分钟
第一个提示选择商业版 还是 开源版
第二个只能选择accept this license offer。
运行mingw32-make
需要安装python
。。。。。。。
此处省略2天2夜的编译
结束验证
运行 qt-everywhere-opensource-src-4.7.2\bin\qtdemo.exe