0. 安装前准备
- qt安装包下载:http://download.qt.io/archive/qt/ 或者使用git 详情见:https://wiki.qt.io/Building_Qt_5_from_Git
- qtcreater下载:http://download.qt.io/official_releases/qtcreator/
- vs2017:官网安装
- 下载相应依赖包或程序:qt安装包里面有个README,按要求下载相应程序
1. 64bit编译和32bit编译器选择:
2. configure
configure -prefix E:/OpenProgram/qt/5.12/x64 -debug-and-release -opensource -static -opengl dynamic -c++std c++11 -skip qtsensors -skip qtwebengine -skip qtgamepad -nomake examples -nomake tests -mp -skip qtlocation -skip qtserialbus -confirm-license