最终成功编译QGIS的详细步骤,可以不用来cmake-gui界面,就可以配置
<!--more-->
软件环境准备
VS2015需要安装的开发工具
Select "Custom" install and add the following packages:
-
"Common Tools for Visual C++ 2015" under "Visual C++"
-
"Tools (1.4.1) and Windows 10 SDK (10.0.14393)" under "Universal Windows App Development Tools".

下载软件包
| Tool | Website |
|---|---|
| CMake | https://cmake.org/files/v3.7/cmake-3.7.2-win64-x64.msi |
| cygwin | http://cygwin.com/setup-x86.exe (32bit) or http://cygwin.com/setup-x86_64.exe (64bit) |
| OSGeo4W | http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86.exe (32bit) or http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe (64bit) |
| ninja |

本文详细介绍了在Windows上使用VS2015编译QGIS 3.16源码的全过程,包括软件环境准备(VS2015开发工具、Cygwin、OSGeo4W、CMake和Ninja的安装)、环境变量配置、QGIS源码克隆与配置、VS工程创建、编译过程及解决常见错误的方法,最后给出了成功编译的关键步骤和注意事项。
5028

被折叠的 条评论
为什么被折叠?



