![qt platform windows qt platform windows](https://cdn2.hubspot.net/hubfs/149513/Imported_Blog_Media/Qt3DStudio-2.jpg)
> 若在 qt5.git 之外构建 qtbase,把 win_bison 和 win_flex 重命名为 bison 和 flexīison, Flex, GPerf are required to compile ANGLE QtWebEngine (Not support Python 3.x, required when compiling qtwebengine) (Or other versions of Qt with qmake), location X:\Qt\Qt5.x
Qt platform windows install#
Install qt-opensource-windows-x86-5.x.exe 去除 Download Cache 目录 Keep download cache after the installation 勾选 -> 安装
![qt platform windows qt platform windows](https://i.ytimg.com/vi/lUmS6XhuPLI/maxresdefault.jpg)
(Errors may occur when compiling non-English edition) Install Visual Studio Build Tools 2017 for VC English edition 把 C:\Program Files (x86)\Windows Kits\10\Redist\D3D\圆4\ C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\ 添加到 path 环境变量 把 C:\Program Files (x86)\Windows Kits\10\bin\ C:\Program Files (x86)\Windows Kits\10\lib\ C:\Program Files (x86)\Windows Kits\10\Include\ 添加到 path 环境变量
Qt platform windows update#
Qt/qt5 -> git remote -v -> git fetch origin -> git log -p 5.15 origin/5.15 -> git merge origin/5.15 -> git submodule update qt5 -> git checkout 5.15 -> git submodule update -init -recursive Qt -> git clone git://code.qt.io/qt/qt5.git -> cd. Source code downloaded from the Qt official website git may not be usable, because frequent modification leads to instability. System Window Advanced system settings -> System variables -> Path Variable -> Click Edit. Open one folder -> On the left side of the window find This PC -> Right-click context menu -> Properties Warning: Since Qt 5.15, open source users need to compile and build the binary installation package by themselves.
![qt platform windows qt platform windows](http://emporiumsite.weebly.com/uploads/1/2/5/2/125262363/225091514.png)
Following compilation process is suitable only for Qt 5.15 and subversion, has been tested safe for use (Except for unforeseen circumstances).